@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf4j: <http://rdf4j.org/schema/rdf4j#> .
@prefix sesame: <http://www.openrdf.org/schema/sesame#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .

<http://purl.uniprot.org/unirules/MF_02004#construct> a <http://www.w3.org/ns/shacl#SPARQLRule>,
    <http://spinrdf.org/sp#Construct>;
  <https://hamap.expasy.org/rdf/vocab#addsTriple> <http://purl.uniprot.org/unirules/MF_02004#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-5>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-21>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-54>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-74>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-75>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-14>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-113>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-45>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-25>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-44>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-112>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-69>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-60>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-83>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-110>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-77>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-70>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-17>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-111>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-29>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-79>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-65>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-117>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-32>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-84>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-92>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-116>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-0>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-78>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-53>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-46>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-115>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-39>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-28>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-114>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-49>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-91>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-61>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-24>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-72>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-85>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-23>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-66>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-62>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-63>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-12>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-88>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-27>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-80>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-30>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-9>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-93>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-86>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-90>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-31>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-64>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-20>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-87>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-8>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-89>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-68>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-50>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-42>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-67>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-34>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-3>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-41>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-59>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-81>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-52>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-82>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-35>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-11>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-119>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-33>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-118>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-94>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-19>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-125>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-124>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-123>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-121>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-122>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-129>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-128>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-127>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-103>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-126>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-102>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-120>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-99>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-97>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-109>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-108>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-106>, <http://purl.uniprot.org/unirules/MF_02004#construct-template-96>,
    <http://purl.uniprot.org/unirules/MF_02004#construct-template-95>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02004#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02004#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:705071 up:source unirule:MF_02004 .
  _:705072 up:source unirule:MF_02004 .
  _:705073 up:source unirule:MF_02004 .
  _:705074 up:source unirule:MF_02004 .
  _:705075 up:source unirule:MF_02004 .
  _:705076 up:source unirule:MF_02004 .
  _:705077 up:source unirule:MF_02004 .
  _:705078 up:source unirule:MF_02004 .
  _:705079 up:source unirule:MF_02004 .
  _:705080 up:source unirule:MF_02004 .
  _:705081 up:source unirule:MF_02004 .
  _:705082 up:source unirule:MF_02004 .
  _:705083 up:source unirule:MF_02004 .
  _:705084 up:source unirule:MF_02004 .
  _:705085 up:source unirule:MF_02004 .
  _:705086 up:source unirule:MF_02004 .
  _:705087 up:source unirule:MF_02004 .
  _:705088 up:source unirule:MF_02004 .
  _:705089 up:source unirule:MF_02004 .
  _:705090 up:source unirule:MF_02004 .
  _:705091 up:source unirule:MF_02004 .
  _:705092 up:source unirule:MF_02004 .
  _:705093 up:source unirule:MF_02004 .
  _:705094 up:source unirule:MF_02004 .
  _:705095 up:source unirule:MF_02004 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation3 ,
      ?annotation4 ,
      ?annotation6 ,
      ?annotation7 ,
      ?annotation9 ,
      ?annotation10 ,
      ?annotation11 ;
    up:classifiedWith GO:0004832 ,
      GO:0005524 ,
      GO:0005737 ,
      GO:0006438 ,
      keyword:175 ,
      keyword:30 ,
      keyword:436 ,
      keyword:547 ,
      keyword:648 ,
      keyword:67 ,
      keyword:963 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '6.1.1.9' ;
    up:fullName 'Valine--tRNA ligase' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'Valyl-tRNA synthetase' ;
    up:shortName 'ValRS' ;
    rdf:type up:Structured_Name .
  ?gene2 skos:prefLabel 'valS' .
  ?annotation3 a up:Function_Annotation ;
    rdfs:comment \"Catalyzes the attachment of valine to tRNA(Val). As ValRS can inadvertently accommodate and process structurally similar amino acids such as threonine, to avoid such errors, it has a 'posttransfer' editing activity that hydrolyzes mischarged Thr-tRNA(Val) in a tRNA-dependent manner.\" .
  ?annotation4 up:activity ?activity5 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity5 up:catalyticActivity <http://rdf.rhea-db.org/10704>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/6.1.1.9>.
  ?annotation6 a up:Subunit_Annotation ;
    rdfs:comment 'Monomer.' .
  ?annotation7 a up:Subcellular_Location_Annotation .
  ?annotation7li8 up:cellularComponent <http://purl.uniprot.org/locations/null>.
  ?annotation9 a up:Domain_Annotation ;
    rdfs:comment 'ValRS has two distinct active sites: one for aminoacylation and one for editing. The misactivated threonine is translocated from the active site to the editing site.' .
  ?annotation10 a up:Domain_Annotation ;
    rdfs:comment 'The C-terminal coiled-coil domain is crucial for aminoacylation activity.' .
  ?annotation11 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the class-I aminoacyl-tRNA synthetase family. ValS type 1 subfamily.' .
  ?pfs12 up:annotation ?annotation13 .
  ?annotation13 faldo:begin ?pfsb14 ;
    faldo:end ?pfse15 ;
    rdf:type up:Motif_Annotation ;
    rdfs:comment \"'HIGH' region\" .
  ?pfsb14 faldo:position ?thisPositionOn16 ;
    rdf:type faldo:ExactPosition .
  ?pfse15 faldo:position ?thisPositionOn17 ;
    rdf:type faldo:ExactPosition .
  ?pfs18 up:annotation ?annotation19 .
  ?annotation19 faldo:begin ?pfsb20 ;
    faldo:end ?pfse21 ;
    rdf:type up:Motif_Annotation ;
    rdfs:comment \"'KMSKS' region\" .
  ?pfsb20 faldo:position ?thisPositionOn22 ;
    rdf:type faldo:ExactPosition .
  ?pfse21 faldo:position ?thisPositionOn23 ;
    rdf:type faldo:ExactPosition .
  ?pfs24 up:annotation ?annotation25 .
  ?annotation25 faldo:begin ?pfsb26 ;
    faldo:end ?pfse27 ;
    up:ligand ?ligand28 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb26 faldo:position ?thisPositionOn29 ;
    rdf:type faldo:ExactPosition .
  ?pfse27 faldo:position ?thisPositionOn30 ;
    rdf:type faldo:ExactPosition .
  ?ligand28 rdfs:subClassOf chebi:30616 .
  ?sam31 up:classifiedWith keyword:175 .
  ?coiledCoil32 faldo:begin ?coiledCoilb33 ;
    faldo:end ?coiledCoile34 .
  ?coiledCoilb33 faldo:position ?coiledCoilbp35 .
  ?coiledCoile34 faldo:position ?coiledCoilep36 .
  ?keyword37 up:range ?coiledCoil32 .
  _:705096 a rdf:Statement ;
    up:attribution _:705071 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:705097 a rdf:Statement ;
    up:attribution _:705072 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:705098 a rdf:Statement ;
    up:attribution _:705073 ;
    rdf:subject ?gene2 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene2 .
  _:705099 a rdf:Statement ;
    up:attribution _:705074 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:705100 a rdf:Statement ;
    up:attribution _:705075 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:705101 a rdf:Statement ;
    up:attribution _:705076 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:705102 a rdf:Statement ;
    up:attribution _:705077 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation7 .
  _:705103 a rdf:Statement ;
    up:attribution _:705078 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation9 .
  _:705104 a rdf:Statement ;
    up:attribution _:705079 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:705105 a rdf:Statement ;
    up:attribution _:705080 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation11 .
  _:705106 a rdf:Statement ;
    up:attribution _:705081 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:963 .
  _:705107 a rdf:Statement ;
    up:attribution _:705082 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:30 .
  _:705108 a rdf:Statement ;
    up:attribution _:705083 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:67 .
  _:705109 a rdf:Statement ;
    up:attribution _:705084 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:175 .
  _:705110 a rdf:Statement ;
    up:attribution _:705085 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:436 .
  _:705111 a rdf:Statement ;
    up:attribution _:705086 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:547 .
  _:705112 a rdf:Statement ;
    up:attribution _:705087 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:648 .
  _:705113 a rdf:Statement ;
    up:attribution _:705088 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0004832 .
  _:705114 a rdf:Statement ;
    up:attribution _:705089 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0005524 .
  _:705115 a rdf:Statement ;
    up:attribution _:705090 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0006438 .
  _:705116 a rdf:Statement ;
    up:attribution _:705091 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0005737 .
  _:705117 a rdf:Statement ;
    up:source unirule:MF_02004 ;
    rdf:subject ?pfs12 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation13 .
  _:705118 a rdf:Statement ;
    up:attribution _:705092 ;
    rdf:subject ?pfs12 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation13 .
  _:705119 a rdf:Statement ;
    up:source unirule:MF_02004 ;
    rdf:subject ?pfs18 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation19 .
  _:705120 a rdf:Statement ;
    up:attribution _:705093 ;
    rdf:subject ?pfs18 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation19 .
  _:705121 a rdf:Statement ;
    up:source unirule:MF_02004 ;
    rdf:subject ?pfs24 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation25 .
  _:705122 a rdf:Statement ;
    up:attribution _:705094 ;
    rdf:subject ?pfs24 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation25 .
  _:705123 a rdf:Statement ;
    up:attribution _:705095 ;
    rdf:subject ?sam31 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:175 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02004
  #Rule MF_02004 Created by:? on:2006-02-07 Modified by:Edouard de Castro on:2024-09-03
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02004 .
  ?thisOrganism rdfs:subClassOf+ taxon:2 .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a4')) AS ?annotation4) .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a6')) AS ?annotation6) .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a7')) AS ?annotation7) .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a9')) AS ?annotation9) .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a10')) AS ?annotation10) .
  BIND(URI(CONCAT(STR(?this), '#MF_02004a11')) AS ?annotation11) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch42 faldo:location ?templateMotifSequenceMatchRegionP0711843 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0711845 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP07118MF_0200438 .
    ?templateMotifSequenceMatchRegionP0711843 faldo:begin ?templateMotifSequenceMatchBeginP0711844 .
    ?templateMotifSequenceMatchBeginP0711844 faldo:position ?templateMotifSequenceMatchBeginPositionP0711839 ;
      faldo:reference isoform:P07118-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0711845 edam:has_input signature:MF_02004 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch46 faldo:location ?targetMotifMatchRegionMatch47 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0200449 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP07118MF_0200440 .
    ?targetMotifMatchRegionMatch47 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0200448 .
    ?targetMotifMatchRegionMatchBeginMF_0200448 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0200441 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0200449 edam:has_input signature:MF_02004 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP07118MF_0200438, 1, (STRLEN(?templateMotifCigarP07118MF_0200438) - STRLEN(REPLACE(?templateMotifCigarP07118MF_0200438, CONCAT('^(?:-*[^-]){', STR(((42 - ?templateMotifSequenceMatchBeginPositionP0711839) + 1)), '}'), '')))), '[a-z]', '')) AS ?step150) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP07118MF_0200440, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200440) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200440, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step150), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP07118MF_0200440, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200440) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200440, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step150), '}'), '')))), '[^-]', ''))) AS ?step251) .
    BIND(((?step251 + ?targetMotifMatchRegionMatchBeginPositionMF_0200441) - 1) AS ?thisPositionOn16) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP07118MF_0200438, 1, (STRLEN(?templateMotifCigarP07118MF_0200438) - STRLEN(REPLACE(?templateMotifCigarP07118MF_0200438, CONCAT('^(?:-*[^-]){', STR(((52 - ?templateMotifSequenceMatchBeginPositionP0711839) + 1)), '}'), '')))), '[a-z]', '')) AS ?step152) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP07118MF_0200440, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200440) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200440, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step152), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP07118MF_0200440, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200440) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200440, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step152), '}'), '')))), '[^-]', ''))) AS ?step253) .
    BIND(((?step253 + ?targetMotifMatchRegionMatchBeginPositionMF_0200441) - 1) AS ?thisPositionOn17) .
    BIND(?this AS ?pfs1t54) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn16))) AS ?pfsb14) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn17))) AS ?pfse15) .
    FILTER (REGEX('PN[VIL]TG[ARNDCQEGHILKMFPSTWYVBZJUOX][LI]H[MLIV]GH', SUBSTR(?thisSequenceValue, ?thisPositionOn16, (?thisPositionOn17 - ?thisPositionOn16)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02004a13')) AS ?annotation13) .
    BIND(?this AS ?pfs12) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch59 faldo:location ?templateMotifSequenceMatchRegionP0711860 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0711862 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP07118MF_0200455 .
    ?templateMotifSequenceMatchRegionP0711860 faldo:begin ?templateMotifSequenceMatchBeginP0711861 .
    ?templateMotifSequenceMatchBeginP0711861 faldo:position ?templateMotifSequenceMatchBeginPositionP0711856 ;
      faldo:reference isoform:P07118-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0711862 edam:has_input signature:MF_02004 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch63 faldo:location ?targetMotifMatchRegionMatch64 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0200466 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP07118MF_0200457 .
    ?targetMotifMatchRegionMatch64 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0200465 .
    ?targetMotifMatchRegionMatchBeginMF_0200465 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0200458 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0200466 edam:has_input signature:MF_02004 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP07118MF_0200455, 1, (STRLEN(?templateMotifCigarP07118MF_0200455) - STRLEN(REPLACE(?templateMotifCigarP07118MF_0200455, CONCAT('^(?:-*[^-]){', STR(((554 - ?templateMotifSequenceMatchBeginPositionP0711856) + 1)), '}'), '')))), '[a-z]', '')) AS ?step167) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP07118MF_0200457, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200457) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200457, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step167), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP07118MF_0200457, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200457) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200457, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step167), '}'), '')))), '[^-]', ''))) AS ?step268) .
    BIND(((?step268 + ?targetMotifMatchRegionMatchBeginPositionMF_0200458) - 1) AS ?thisPositionOn22) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP07118MF_0200455, 1, (STRLEN(?templateMotifCigarP07118MF_0200455) - STRLEN(REPLACE(?templateMotifCigarP07118MF_0200455, CONCAT('^(?:-*[^-]){', STR(((558 - ?templateMotifSequenceMatchBeginPositionP0711856) + 1)), '}'), '')))), '[a-z]', '')) AS ?step169) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP07118MF_0200457, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200457) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200457, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP07118MF_0200457, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200457) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200457, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), '')))), '[^-]', ''))) AS ?step270) .
    BIND(((?step270 + ?targetMotifMatchRegionMatchBeginPositionMF_0200458) - 1) AS ?thisPositionOn23) .
    BIND(?this AS ?pfs1t71) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn22))) AS ?pfsb20) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn23))) AS ?pfse21) .
    FILTER (REGEX('K[MLF][ST]K[ST]', SUBSTR(?thisSequenceValue, ?thisPositionOn22, (?thisPositionOn23 - ?thisPositionOn22)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02004a19')) AS ?annotation19) .
    BIND(?this AS ?pfs18) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch76 faldo:location ?templateMotifSequenceMatchRegionP0711877 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0711879 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP07118MF_0200472 .
    ?templateMotifSequenceMatchRegionP0711877 faldo:begin ?templateMotifSequenceMatchBeginP0711878 .
    ?templateMotifSequenceMatchBeginP0711878 faldo:position ?templateMotifSequenceMatchBeginPositionP0711873 ;
      faldo:reference isoform:P07118-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0711879 edam:has_input signature:MF_02004 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch80 faldo:location ?targetMotifMatchRegionMatch81 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0200483 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP07118MF_0200474 .
    ?targetMotifMatchRegionMatch81 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0200482 .
    ?targetMotifMatchRegionMatchBeginMF_0200482 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0200475 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0200483 edam:has_input signature:MF_02004 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP07118MF_0200472, 1, (STRLEN(?templateMotifCigarP07118MF_0200472) - STRLEN(REPLACE(?templateMotifCigarP07118MF_0200472, CONCAT('^(?:-*[^-]){', STR(((557 - ?templateMotifSequenceMatchBeginPositionP0711873) + 1)), '}'), '')))), '[a-z]', '')) AS ?step184) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP07118MF_0200474, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200474) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200474, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step184), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP07118MF_0200474, 1, (STRLEN(?targetMotifMatchCigarP07118MF_0200474) - STRLEN(REPLACE(?targetMotifMatchCigarP07118MF_0200474, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step184), '}'), '')))), '[^-]', ''))) AS ?step285) .
    BIND(((?step285 + ?targetMotifMatchRegionMatchBeginPositionMF_0200475) - 1) AS ?thisPositionOn29) .
    BIND(?thisPositionOn29 AS ?thisPositionOn30) .
    BIND(?this AS ?pfs1t86) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn29))) AS ?pfsb26) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn30))) AS ?pfse27) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn29, 1) = 'K')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02004a25')) AS ?annotation25) .
    BIND(?this AS ?pfs24) .
  }
  OPTIONAL {
    ?this up:annotation ?samcc87 ;
      up:sequence ?thisSequence .
    ?samcc87 up:range ?samccr88 ;
      rdf:type up:Coiled_Coil_Annotation .
    ?samccr88 faldo:begin ?samccb89 ;
      faldo:end ?samcce90 .
    ?samccb89 faldo:position ?samccbp91 ;
      faldo:reference ?thisSequence .
    ?samcce90 faldo:position ?samccep92 ;
      faldo:reference ?thisSequence .
    BIND(?this AS ?sam31) .
  }
  BIND(URI(CONCAT(STR(?this), '#MF_02004a37')) AS ?keyword37) .
}
""" .

<http://purl.uniprot.org/unirules/MF_02004> <http://www.w3.org/ns/shacl#rule> <http://purl.uniprot.org/unirules/MF_02004#construct> .
