@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_02060#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_02060#construct-template-74>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-14>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-87>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-1>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-84>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-8>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-67>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-10>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-52>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-12>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-41>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-81>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-58>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-26>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-25>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-47>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-32>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-34>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-49>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-43>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-59>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-86>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-103>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-16>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-73>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-77>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-60>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-63>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-17>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-45>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-89>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-79>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-54>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-3>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-62>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-30>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-9>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-42>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-68>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-80>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-91>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-65>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-75>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-33>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-83>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-6>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-82>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-108>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-69>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-51>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-2>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-7>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-94>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-55>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-70>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-61>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-85>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-53>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-66>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-78>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-88>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-109>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-96>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-101>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-72>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-102>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-90>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-100>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-106>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-97>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-92>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-99>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-95>, <http://purl.uniprot.org/unirules/MF_02060#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_02060#construct-template-93>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02060#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02060#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:728328 up:source unirule:MF_02060 .
  _:728329 up:source unirule:MF_02060 .
  _:728330 up:source unirule:MF_02060 .
  _:728331 up:source unirule:MF_02060 .
  _:728332 up:source unirule:MF_02060 .
  _:728333 up:source unirule:MF_02060 .
  _:728334 up:source unirule:MF_02060 .
  _:728335 up:source unirule:MF_02060 .
  _:728336 up:source unirule:MF_02060 .
  _:728337 up:source unirule:MF_02060 .
  _:728338 up:source unirule:MF_02060 .
  _:728339 up:source unirule:MF_02060 .
  _:728340 up:source unirule:MF_02060 .
  _:728341 up:source unirule:MF_02060 .
  _:728342 up:source unirule:MF_02060 .
  _:728343 up:source unirule:MF_02060 .
  _:728344 up:source unirule:MF_02060 .
  _:728345 up:source unirule:MF_02060 .
  _:728346 up:source unirule:MF_02060 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation3 ,
      ?annotation4 ,
      ?annotation6 ;
    up:classifiedWith GO:0000049 ,
      GO:0002938 ,
      GO:0141100 ,
      keyword:489 ,
      keyword:694 ,
      keyword:808 ,
      keyword:819 ,
      keyword:820 ,
      keyword:949 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '2.1.1.34' ;
    up:fullName \"tRNA (guanosine(18)-2'-O)-methyltransferase\" ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'tRNA [Gm18] methyltransferase' ;
    rdf:type up:Structured_Name .
  ?gene2 skos:prefLabel 'trmH' .
  ?annotation3 a up:Function_Annotation ;
    rdfs:comment \"Catalyzes the 2'-O methylation of guanosine at position 18 in tRNA.\" .
  ?annotation4 up:activity ?activity5 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity5 up:catalyticActivity <http://rdf.rhea-db.org/20077>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/2.1.1.34>.
  ?annotation6 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the class IV-like SAM-binding methyltransferase superfamily. RNA methyltransferase TrmH family.' .
  ?pfs7 up:annotation ?annotation8 .
  ?annotation8 faldo:begin ?pfsb9 ;
    faldo:end ?pfse10 ;
    up:ligand ?ligand11 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb9 faldo:position ?thisPositionOn12 ;
    rdf:type faldo:ExactPosition .
  ?pfse10 faldo:position ?thisPositionOn13 ;
    rdf:type faldo:ExactPosition .
  ?ligand11 rdfs:subClassOf chebi:59789 .
  ?pfs14 up:annotation ?annotation15 .
  ?annotation15 faldo:begin ?pfsb16 ;
    faldo:end ?pfse17 ;
    up:ligand ?ligand18 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb16 faldo:position ?thisPositionOn19 ;
    rdf:type faldo:ExactPosition .
  ?pfse17 faldo:position ?thisPositionOn20 ;
    rdf:type faldo:ExactPosition .
  ?ligand18 rdfs:subClassOf chebi:59789 .
  ?pfs21 up:annotation ?annotation22 .
  ?annotation22 faldo:begin ?pfsb23 ;
    faldo:end ?pfse24 ;
    up:ligand ?ligand25 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb23 faldo:position ?thisPositionOn26 ;
    rdf:type faldo:ExactPosition .
  ?pfse24 faldo:position ?thisPositionOn27 ;
    rdf:type faldo:ExactPosition .
  ?ligand25 rdfs:subClassOf chebi:59789 .
  ?pfs28 up:annotation ?annotation29 .
  ?annotation29 faldo:begin ?pfsb30 ;
    faldo:end ?pfse31 ;
    up:ligand ?ligand32 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb30 faldo:position ?thisPositionOn33 ;
    rdf:type faldo:ExactPosition .
  ?pfse31 faldo:position ?thisPositionOn34 ;
    rdf:type faldo:ExactPosition .
  ?ligand32 rdfs:subClassOf chebi:59789 .
  _:728347 a rdf:Statement ;
    up:attribution _:728328 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:728348 a rdf:Statement ;
    up:attribution _:728329 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:728349 a rdf:Statement ;
    up:attribution _:728330 ;
    rdf:subject ?gene2 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene2 .
  _:728350 a rdf:Statement ;
    up:attribution _:728331 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:728351 a rdf:Statement ;
    up:attribution _:728332 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:728352 a rdf:Statement ;
    up:attribution _:728333 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:728353 a rdf:Statement ;
    up:attribution _:728334 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:489 .
  _:728354 a rdf:Statement ;
    up:attribution _:728335 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:694 .
  _:728355 a rdf:Statement ;
    up:attribution _:728336 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:949 .
  _:728356 a rdf:Statement ;
    up:attribution _:728337 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:808 .
  _:728357 a rdf:Statement ;
    up:attribution _:728338 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:819 .
  _:728358 a rdf:Statement ;
    up:attribution _:728339 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:820 .
  _:728359 a rdf:Statement ;
    up:attribution _:728340 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0141100 .
  _:728360 a rdf:Statement ;
    up:attribution _:728341 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0000049 .
  _:728361 a rdf:Statement ;
    up:attribution _:728342 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0002938 .
  _:728362 a rdf:Statement ;
    up:source unirule:MF_02060 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:728363 a rdf:Statement ;
    up:attribution _:728343 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:728364 a rdf:Statement ;
    up:source unirule:MF_02060 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation15 .
  _:728365 a rdf:Statement ;
    up:attribution _:728344 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation15 .
  _:728366 a rdf:Statement ;
    up:source unirule:MF_02060 ;
    rdf:subject ?pfs21 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation22 .
  _:728367 a rdf:Statement ;
    up:attribution _:728345 ;
    rdf:subject ?pfs21 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation22 .
  _:728368 a rdf:Statement ;
    up:source unirule:MF_02060 ;
    rdf:subject ?pfs28 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation29 .
  _:728369 a rdf:Statement ;
    up:attribution _:728346 ;
    rdf:subject ?pfs28 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation29 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02060
  #Rule MF_02060 Created by:? on:2016-03-16 Modified by:Edouard de Castro on:2024-09-03
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02060 .
  ?thisOrganism rdfs:subClassOf+ taxon:2 .
  BIND(URI(CONCAT(STR(?this), '#MF_02060a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02060a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02060a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02060a4')) AS ?annotation4) .
  BIND(URI(CONCAT(STR(?this), '#MF_02060a6')) AS ?annotation6) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch39 faldo:location ?templateMotifSequenceMatchRegionQ5SM1640 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5SM1642 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5SM16MF_0206035 .
    ?templateMotifSequenceMatchRegionQ5SM1640 faldo:begin ?templateMotifSequenceMatchBeginQ5SM1641 .
    ?templateMotifSequenceMatchBeginQ5SM1641 faldo:position ?templateMotifSequenceMatchBeginPositionQ5SM1636 ;
      faldo:reference isoform:Q5SM16-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5SM1642 edam:has_input signature:MF_02060 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch43 faldo:location ?targetMotifMatchRegionMatch44 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0206046 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5SM16MF_0206037 .
    ?targetMotifMatchRegionMatch44 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0206045 .
    ?targetMotifMatchRegionMatchBeginMF_0206045 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0206038 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0206046 edam:has_input signature:MF_02060 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5SM16MF_0206035, 1, (STRLEN(?templateMotifCigarQ5SM16MF_0206035) - STRLEN(REPLACE(?templateMotifCigarQ5SM16MF_0206035, CONCAT('^(?:-*[^-]){', STR(((122 - ?templateMotifSequenceMatchBeginPositionQ5SM1636) + 1)), '}'), '')))), '[a-z]', '')) AS ?step147) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206037, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206037) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206037, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step147), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206037, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206037) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206037, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step147), '}'), '')))), '[^-]', ''))) AS ?step248) .
    BIND(((?step248 + ?targetMotifMatchRegionMatchBeginPositionMF_0206038) - 1) AS ?thisPositionOn12) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5SM16MF_0206035, 1, (STRLEN(?templateMotifCigarQ5SM16MF_0206035) - STRLEN(REPLACE(?templateMotifCigarQ5SM16MF_0206035, CONCAT('^(?:-*[^-]){', STR(((126 - ?templateMotifSequenceMatchBeginPositionQ5SM1636) + 1)), '}'), '')))), '[a-z]', '')) AS ?step149) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206037, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206037) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206037, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step149), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206037, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206037) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206037, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step149), '}'), '')))), '[^-]', ''))) AS ?step250) .
    BIND(((?step250 + ?targetMotifMatchRegionMatchBeginPositionMF_0206038) - 1) AS ?thisPositionOn13) .
    BIND(?this AS ?pfs1t51) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn12))) AS ?pfsb9) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn13))) AS ?pfse10) .
    FILTER (REGEX('G[ARNDCQEGHILKMFPSTWYVBZJUOX]E[KR]W', SUBSTR(?thisSequenceValue, ?thisPositionOn12, (?thisPositionOn13 - ?thisPositionOn12)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02060a8')) AS ?annotation8) .
    BIND(?this AS ?pfs7) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch56 faldo:location ?templateMotifSequenceMatchRegionQ5SM1657 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5SM1659 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5SM16MF_0206052 .
    ?templateMotifSequenceMatchRegionQ5SM1657 faldo:begin ?templateMotifSequenceMatchBeginQ5SM1658 .
    ?templateMotifSequenceMatchBeginQ5SM1658 faldo:position ?templateMotifSequenceMatchBeginPositionQ5SM1653 ;
      faldo:reference isoform:Q5SM16-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5SM1659 edam:has_input signature:MF_02060 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch60 faldo:location ?targetMotifMatchRegionMatch61 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0206063 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5SM16MF_0206054 .
    ?targetMotifMatchRegionMatch61 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0206062 .
    ?targetMotifMatchRegionMatchBeginMF_0206062 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0206055 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0206063 edam:has_input signature:MF_02060 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5SM16MF_0206052, 1, (STRLEN(?templateMotifCigarQ5SM16MF_0206052) - STRLEN(REPLACE(?templateMotifCigarQ5SM16MF_0206052, CONCAT('^(?:-*[^-]){', STR(((99 - ?templateMotifSequenceMatchBeginPositionQ5SM1653) + 1)), '}'), '')))), '[a-z]', '')) AS ?step164) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206054, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206054) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206054, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step164), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206054, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206054) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206054, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step164), '}'), '')))), '[^-]', ''))) AS ?step265) .
    BIND(((?step265 + ?targetMotifMatchRegionMatchBeginPositionMF_0206055) - 1) AS ?thisPositionOn19) .
    BIND(?thisPositionOn19 AS ?thisPositionOn20) .
    BIND(?this AS ?pfs1t66) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn19))) AS ?pfsb16) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn20))) AS ?pfse17) .
    FILTER (REGEX('[TS]', SUBSTR(?thisSequenceValue, ?thisPositionOn19, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02060a15')) AS ?annotation15) .
    BIND(?this AS ?pfs14) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch71 faldo:location ?templateMotifSequenceMatchRegionQ5SM1672 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5SM1674 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5SM16MF_0206067 .
    ?templateMotifSequenceMatchRegionQ5SM1672 faldo:begin ?templateMotifSequenceMatchBeginQ5SM1673 .
    ?templateMotifSequenceMatchBeginQ5SM1673 faldo:position ?templateMotifSequenceMatchBeginPositionQ5SM1668 ;
      faldo:reference isoform:Q5SM16-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5SM1674 edam:has_input signature:MF_02060 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch75 faldo:location ?targetMotifMatchRegionMatch76 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0206078 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5SM16MF_0206069 .
    ?targetMotifMatchRegionMatch76 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0206077 .
    ?targetMotifMatchRegionMatchBeginMF_0206077 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0206070 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0206078 edam:has_input signature:MF_02060 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5SM16MF_0206067, 1, (STRLEN(?templateMotifCigarQ5SM16MF_0206067) - STRLEN(REPLACE(?templateMotifCigarQ5SM16MF_0206067, CONCAT('^(?:-*[^-]){', STR(((142 - ?templateMotifSequenceMatchBeginPositionQ5SM1668) + 1)), '}'), '')))), '[a-z]', '')) AS ?step179) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206069, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206069) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206069, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step179), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206069, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206069) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206069, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step179), '}'), '')))), '[^-]', ''))) AS ?step280) .
    BIND(((?step280 + ?targetMotifMatchRegionMatchBeginPositionMF_0206070) - 1) AS ?thisPositionOn26) .
    BIND(?thisPositionOn26 AS ?thisPositionOn27) .
    BIND(?this AS ?pfs1t81) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn26))) AS ?pfsb23) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn27))) AS ?pfse24) .
    FILTER (REGEX('[ILV]', SUBSTR(?thisSequenceValue, ?thisPositionOn26, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02060a22')) AS ?annotation22) .
    BIND(?this AS ?pfs21) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch86 faldo:location ?templateMotifSequenceMatchRegionQ5SM1687 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5SM1689 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5SM16MF_0206082 .
    ?templateMotifSequenceMatchRegionQ5SM1687 faldo:begin ?templateMotifSequenceMatchBeginQ5SM1688 .
    ?templateMotifSequenceMatchBeginQ5SM1688 faldo:position ?templateMotifSequenceMatchBeginPositionQ5SM1683 ;
      faldo:reference isoform:Q5SM16-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5SM1689 edam:has_input signature:MF_02060 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch90 faldo:location ?targetMotifMatchRegionMatch91 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0206093 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5SM16MF_0206084 .
    ?targetMotifMatchRegionMatch91 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0206092 .
    ?targetMotifMatchRegionMatchBeginMF_0206092 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0206085 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0206093 edam:has_input signature:MF_02060 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5SM16MF_0206082, 1, (STRLEN(?templateMotifCigarQ5SM16MF_0206082) - STRLEN(REPLACE(?templateMotifCigarQ5SM16MF_0206082, CONCAT('^(?:-*[^-]){', STR(((151 - ?templateMotifSequenceMatchBeginPositionQ5SM1683) + 1)), '}'), '')))), '[a-z]', '')) AS ?step194) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206084, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206084) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206084, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step194), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5SM16MF_0206084, 1, (STRLEN(?targetMotifMatchCigarQ5SM16MF_0206084) - STRLEN(REPLACE(?targetMotifMatchCigarQ5SM16MF_0206084, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step194), '}'), '')))), '[^-]', ''))) AS ?step295) .
    BIND(((?step295 + ?targetMotifMatchRegionMatchBeginPositionMF_0206085) - 1) AS ?thisPositionOn33) .
    BIND(?thisPositionOn33 AS ?thisPositionOn34) .
    BIND(?this AS ?pfs1t96) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn33))) AS ?pfsb30) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn34))) AS ?pfse31) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn33, 1) = 'L')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02060a29')) AS ?annotation29) .
    BIND(?this AS ?pfs28) .
  }
}
""" .

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