@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_03162#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_03162#construct-template-94>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-70>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-128>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-129>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-132>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-79>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-18>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-1>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-7>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-92>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-133>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-131>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-17>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-102>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-14>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-93>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-130>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-33>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-49>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-109>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-107>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-15>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-40>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-103>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-122>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-83>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-77>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-47>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-22>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-86>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-42>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-81>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-66>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-99>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-90>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-59>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-78>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-118>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-11>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-80>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-29>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-51>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-96>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-12>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-53>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-64>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-97>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-46>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-67>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-32>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-61>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-85>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-105>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-108>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-63>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-54>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-74>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-37>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-75>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-8>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-120>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-26>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-45>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-68>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-36>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-116>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-72>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-127>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-10>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-34>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-41>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-60>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-84>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-82>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-52>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-113>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-126>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-89>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-106>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-88>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-62>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-87>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-104>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-95>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-24>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-135>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-69>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-111>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-124>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-125>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-123>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-121>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-91>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-117>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-110>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-115>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-136>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-119>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-114>,
    <http://purl.uniprot.org/unirules/MF_03162#construct-template-134>, <http://purl.uniprot.org/unirules/MF_03162#construct-template-112>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_03162#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_03162#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:852888 up:source unirule:MF_03162 .
  _:852889 up:source unirule:MF_03162 .
  _:852890 up:source unirule:MF_03162 .
  _:852891 up:source unirule:MF_03162 .
  _:852892 up:source unirule:MF_03162 .
  _:852893 up:source unirule:MF_03162 .
  _:852894 up:source unirule:MF_03162 .
  _:852895 up:source unirule:MF_03162 .
  _:852896 up:source unirule:MF_03162 .
  _:852897 up:source unirule:MF_03162 .
  _:852898 up:source unirule:MF_03162 .
  _:852899 up:source unirule:MF_03162 .
  _:852900 up:source unirule:MF_03162 .
  _:852901 up:source unirule:MF_03162 .
  _:852902 up:source unirule:MF_03162 .
  _:852903 up:source unirule:MF_03162 .
  _:852904 up:source unirule:MF_03162 .
  _:852905 up:source unirule:MF_03162 .
  _:852906 up:source unirule:MF_03162 .
  _:852907 up:source unirule:MF_03162 .
  _:852908 up:source unirule:MF_03162 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation5 ,
      ?annotation7 ;
    up:classifiedWith GO:0002128 ,
      GO:0002181 ,
      GO:0005737 ,
      GO:0008175 ,
      keyword:489 ,
      keyword:808 ,
      keyword:819 ,
      keyword:949 ,
      keyword:963 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '2.1.1.205' ;
    up:fullName \"Putative tRNA (cytidine(32)/guanosine(34)-2'-O)-methyltransferase\" ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName \"2'-O-ribose RNA methyltransferase TRM7 homolog\" ;
    rdf:type up:Structured_Name .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment \"Methylates the 2'-O-ribose of nucleotides at positions 32 and 34 of the tRNA anticodon loop of substrate tRNAs.\" .
  ?annotation3 up:activity ?activity4 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity4 up:catalyticActivity <http://rdf.rhea-db.org/42396>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/2.1.1.205>.
  ?annotation5 a up:Subcellular_Location_Annotation .
  ?annotation5li6 up:cellularComponent <http://purl.uniprot.org/locations/null>.
  ?annotation7 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the class I-like SAM-binding methyltransferase superfamily. RNA methyltransferase RlmE family. TRM7 subfamily.' .
  ?pfs10 up:annotation ?annotation11 .
  ?annotation11 faldo:begin ?pfsb12 ;
    faldo:end ?pfse13 ;
    rdf:type up:Active_Site_Annotation ;
    rdfs:comment 'Proton acceptor' .
  ?pfsb12 faldo:position ?thisPositionOn14 ;
    rdf:type faldo:ExactPosition .
  ?pfse13 faldo:position ?thisPositionOn15 ;
    rdf:type faldo:ExactPosition .
  ?pfs16 up:annotation ?annotation17 ,
      ?annotation23 ,
      ?annotation29 ,
      ?annotation35 ,
      ?annotation41 .
  ?annotation17 faldo:begin ?pfsb18 ;
    faldo:end ?pfse19 ;
    up:ligand ?ligand20 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb18 faldo:position ?thisPositionOn21 ;
    rdf:type faldo:ExactPosition .
  ?pfse19 faldo:position ?thisPositionOn22 ;
    rdf:type faldo:ExactPosition .
  ?ligand20 rdfs:subClassOf chebi:59789 .
  ?annotation23 faldo:begin ?pfsb24 ;
    faldo:end ?pfse25 ;
    up:ligand ?ligand26 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb24 faldo:position ?thisPositionOn27 ;
    rdf:type faldo:ExactPosition .
  ?pfse25 faldo:position ?thisPositionOn28 ;
    rdf:type faldo:ExactPosition .
  ?ligand26 rdfs:subClassOf chebi:59789 .
  ?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 .
  ?annotation35 faldo:begin ?pfsb36 ;
    faldo:end ?pfse37 ;
    up:ligand ?ligand38 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb36 faldo:position ?thisPositionOn39 ;
    rdf:type faldo:ExactPosition .
  ?pfse37 faldo:position ?thisPositionOn40 ;
    rdf:type faldo:ExactPosition .
  ?ligand38 rdfs:subClassOf chebi:59789 .
  ?annotation41 faldo:begin ?pfsb42 ;
    faldo:end ?pfse43 ;
    up:ligand ?ligand44 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb42 faldo:position ?thisPositionOn45 ;
    rdf:type faldo:ExactPosition .
  ?pfse43 faldo:position ?thisPositionOn46 ;
    rdf:type faldo:ExactPosition .
  ?ligand44 rdfs:subClassOf chebi:59789 .
  _:852909 a rdf:Statement ;
    up:attribution _:852888 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:852910 a rdf:Statement ;
    up:attribution _:852889 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:852911 a rdf:Statement ;
    up:attribution _:852890 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:852912 a rdf:Statement ;
    up:attribution _:852891 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:852913 a rdf:Statement ;
    up:attribution _:852892 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:852914 a rdf:Statement ;
    up:attribution _:852893 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation7 .
  _:852915 a rdf:Statement ;
    up:attribution _:852894 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:963 .
  _:852916 a rdf:Statement ;
    up:attribution _:852895 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:489 .
  _:852917 a rdf:Statement ;
    up:attribution _:852896 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:949 .
  _:852918 a rdf:Statement ;
    up:attribution _:852897 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:808 .
  _:852919 a rdf:Statement ;
    up:attribution _:852898 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:819 .
  _:852920 a rdf:Statement ;
    up:attribution _:852899 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0005737 .
  _:852921 a rdf:Statement ;
    up:attribution _:852900 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0008175 .
  _:852922 a rdf:Statement ;
    up:attribution _:852901 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0002181 .
  _:852923 a rdf:Statement ;
    up:attribution _:852902 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0002128 .
  _:852924 a rdf:Statement ;
    up:source unirule:MF_03162 ;
    rdf:subject ?pfs10 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation11 .
  _:852925 a rdf:Statement ;
    up:attribution _:852903 ;
    rdf:subject ?pfs10 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation11 .
  _:852926 a rdf:Statement ;
    up:source unirule:MF_03162 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation17 .
  _:852927 a rdf:Statement ;
    up:attribution _:852904 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation17 .
  _:852928 a rdf:Statement ;
    up:source unirule:MF_03162 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation23 .
  _:852929 a rdf:Statement ;
    up:attribution _:852905 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation23 .
  _:852930 a rdf:Statement ;
    up:source unirule:MF_03162 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation29 .
  _:852931 a rdf:Statement ;
    up:attribution _:852906 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation29 .
  _:852932 a rdf:Statement ;
    up:source unirule:MF_03162 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation35 .
  _:852933 a rdf:Statement ;
    up:attribution _:852907 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation35 .
  _:852934 a rdf:Statement ;
    up:source unirule:MF_03162 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation41 .
  _:852935 a rdf:Statement ;
    up:attribution _:852908 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation41 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_03162
  #Rule MF_03162 Created by:? on:2013-01-08 Modified by:Edouard de Castro on:2024-09-03
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_03162 .
  ?thisOrganism rdfs:subClassOf+ taxon:2759 .
  BIND(URI(CONCAT(STR(?this), '#MF_03162a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_03162a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_03162a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_03162a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_03162a5')) AS ?annotation5) .
  BIND(URI(CONCAT(STR(?this), '#MF_03162a7')) AS ?annotation7) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch51 faldo:location ?templateMotifSequenceMatchRegionP3823852 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP3823854 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP38238MF_0316247 .
    ?templateMotifSequenceMatchRegionP3823852 faldo:begin ?templateMotifSequenceMatchBeginP3823853 .
    ?templateMotifSequenceMatchBeginP3823853 faldo:position ?templateMotifSequenceMatchBeginPositionP3823848 ;
      faldo:reference isoform:P38238-1 .
    ?templateMotifSequenceProfileAlignmentOperationP3823854 edam:has_input signature:MF_03162 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch55 faldo:location ?targetMotifMatchRegionMatch56 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0316258 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP38238MF_0316249 .
    ?targetMotifMatchRegionMatch56 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0316257 .
    ?targetMotifMatchRegionMatchBeginMF_0316257 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0316250 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0316258 edam:has_input signature:MF_03162 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP38238MF_0316247, 1, (STRLEN(?templateMotifCigarP38238MF_0316247) - STRLEN(REPLACE(?templateMotifCigarP38238MF_0316247, CONCAT('^(?:-*[^-]){', STR(((164 - ?templateMotifSequenceMatchBeginPositionP3823848) + 1)), '}'), '')))), '[a-z]', '')) AS ?step159) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP38238MF_0316249, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316249) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316249, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step159), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP38238MF_0316249, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316249) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316249, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step159), '}'), '')))), '[^-]', ''))) AS ?step260) .
    BIND(((?step260 + ?targetMotifMatchRegionMatchBeginPositionMF_0316250) - 1) AS ?thisPositionOn14) .
    BIND(?thisPositionOn14 AS ?thisPositionOn15) .
    BIND(?this AS ?pfs1t61) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn14))) AS ?pfsb12) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn15))) AS ?pfse13) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn14, 1) = 'K')) .
    BIND(URI(CONCAT(STR(?this), '#MF_03162a11')) AS ?annotation11) .
    BIND(?this AS ?pfs10) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch66 faldo:location ?templateMotifSequenceMatchRegionP3823867 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP3823869 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP38238MF_0316262 .
    ?templateMotifSequenceMatchRegionP3823867 faldo:begin ?templateMotifSequenceMatchBeginP3823868 .
    ?templateMotifSequenceMatchBeginP3823868 faldo:position ?templateMotifSequenceMatchBeginPositionP3823863 ;
      faldo:reference isoform:P38238-1 .
    ?templateMotifSequenceProfileAlignmentOperationP3823869 edam:has_input signature:MF_03162 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch70 faldo:location ?targetMotifMatchRegionMatch71 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0316273 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP38238MF_0316264 .
    ?targetMotifMatchRegionMatch71 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0316272 .
    ?targetMotifMatchRegionMatchBeginMF_0316272 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0316265 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0316273 edam:has_input signature:MF_03162 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP38238MF_0316262, 1, (STRLEN(?templateMotifCigarP38238MF_0316262) - STRLEN(REPLACE(?templateMotifCigarP38238MF_0316262, CONCAT('^(?:-*[^-]){', STR(((55 - ?templateMotifSequenceMatchBeginPositionP3823863) + 1)), '}'), '')))), '[a-z]', '')) AS ?step174) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step174), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step174), '}'), '')))), '[^-]', ''))) AS ?step275) .
    BIND(((?step275 + ?targetMotifMatchRegionMatchBeginPositionMF_0316265) - 1) AS ?thisPositionOn21) .
    BIND(?thisPositionOn21 AS ?thisPositionOn22) .
    BIND(?this AS ?pfs2t76) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn21))) AS ?pfsb18) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn22))) AS ?pfse19) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn21, 1) = 'G')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP38238MF_0316262, 1, (STRLEN(?templateMotifCigarP38238MF_0316262) - STRLEN(REPLACE(?templateMotifCigarP38238MF_0316262, CONCAT('^(?:-*[^-]){', STR(((57 - ?templateMotifSequenceMatchBeginPositionP3823863) + 1)), '}'), '')))), '[a-z]', '')) AS ?step177) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step177), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step177), '}'), '')))), '[^-]', ''))) AS ?step278) .
    BIND(((?step278 + ?targetMotifMatchRegionMatchBeginPositionMF_0316265) - 1) AS ?thisPositionOn27) .
    BIND(?thisPositionOn27 AS ?thisPositionOn28) .
    BIND(?this AS ?pfs2t79) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn27))) AS ?pfsb24) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn28))) AS ?pfse25) .
    FILTER (REGEX('[WF]', SUBSTR(?thisSequenceValue, ?thisPositionOn27, 1))) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP38238MF_0316262, 1, (STRLEN(?templateMotifCigarP38238MF_0316262) - STRLEN(REPLACE(?templateMotifCigarP38238MF_0316262, CONCAT('^(?:-*[^-]){', STR(((83 - ?templateMotifSequenceMatchBeginPositionP3823863) + 1)), '}'), '')))), '[a-z]', '')) AS ?step180) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step180), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step180), '}'), '')))), '[^-]', ''))) AS ?step281) .
    BIND(((?step281 + ?targetMotifMatchRegionMatchBeginPositionMF_0316265) - 1) AS ?thisPositionOn33) .
    BIND(?thisPositionOn33 AS ?thisPositionOn34) .
    BIND(?this AS ?pfs2t82) .
    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) = 'D')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP38238MF_0316262, 1, (STRLEN(?templateMotifCigarP38238MF_0316262) - STRLEN(REPLACE(?templateMotifCigarP38238MF_0316262, CONCAT('^(?:-*[^-]){', STR(((99 - ?templateMotifSequenceMatchBeginPositionP3823863) + 1)), '}'), '')))), '[a-z]', '')) AS ?step183) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step183), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step183), '}'), '')))), '[^-]', ''))) AS ?step284) .
    BIND(((?step284 + ?targetMotifMatchRegionMatchBeginPositionMF_0316265) - 1) AS ?thisPositionOn39) .
    BIND(?thisPositionOn39 AS ?thisPositionOn40) .
    BIND(?this AS ?pfs2t85) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn39))) AS ?pfsb36) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn40))) AS ?pfse37) .
    FILTER (REGEX('[DN]', SUBSTR(?thisSequenceValue, ?thisPositionOn39, 1))) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP38238MF_0316262, 1, (STRLEN(?templateMotifCigarP38238MF_0316262) - STRLEN(REPLACE(?templateMotifCigarP38238MF_0316262, CONCAT('^(?:-*[^-]){', STR(((124 - ?templateMotifSequenceMatchBeginPositionP3823863) + 1)), '}'), '')))), '[a-z]', '')) AS ?step186) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step186), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP38238MF_0316264, 1, (STRLEN(?targetMotifMatchCigarP38238MF_0316264) - STRLEN(REPLACE(?targetMotifMatchCigarP38238MF_0316264, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step186), '}'), '')))), '[^-]', ''))) AS ?step287) .
    BIND(((?step287 + ?targetMotifMatchRegionMatchBeginPositionMF_0316265) - 1) AS ?thisPositionOn45) .
    BIND(?thisPositionOn45 AS ?thisPositionOn46) .
    BIND(?this AS ?pfs2t88) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn45))) AS ?pfsb42) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn46))) AS ?pfse43) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn45, 1) = 'D')) .
    BIND(?this AS ?pfs16) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:40674 .
    BIND(?this AS ?case8) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:4892 .
    BIND(?this AS ?case9) .
  }
}
""" .

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