@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_02217#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_02217#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-17>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-15>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-14>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-13>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-12>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-11>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-10>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-34>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-33>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-31>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-19>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-29>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-28>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-27>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-25>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-23>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-0>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-2>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-20>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-43>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-42>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-41>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-40>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-87>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-117>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-74>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-81>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-103>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-91>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-132>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-129>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-121>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-66>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-53>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-82>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-115>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-120>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-94>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-88>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-77>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-106>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-78>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-98>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-122>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-110>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-96>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-143>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-63>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-85>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-86>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-52>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-128>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-133>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-108>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-139>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-130>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-64>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-154>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-59>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-102>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-93>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-126>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-127>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-165>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-109>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-114>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-46>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-89>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-112>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-56>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-80>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-79>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-62>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-45>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-119>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-54>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-67>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-141>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-137>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-152>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-75>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-99>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-50>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-153>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-113>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-163>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-83>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-68>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-155>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-148>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-159>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-131>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-60>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-84>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-124>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-156>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-72>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-157>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-158>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-134>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-135>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-111>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-116>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-136>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-150>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-161>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-97>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-146>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-118>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-151>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-95>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-125>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-49>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-92>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-144>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-90>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-138>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-70>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-142>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-164>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-149>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-140>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-145>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-162>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-123>, <http://purl.uniprot.org/unirules/MF_02217#construct-template-147>,
    <http://purl.uniprot.org/unirules/MF_02217#construct-template-160>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02217#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02217#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:765117 up:source unirule:MF_02217 .
  _:765118 up:source unirule:MF_02217 .
  _:765119 up:source unirule:MF_02217 .
  _:765120 up:source unirule:MF_02217 .
  _:765121 up:source unirule:MF_02217 .
  _:765122 up:source unirule:MF_02217 .
  _:765123 up:source unirule:MF_02217 .
  _:765124 up:source unirule:MF_02217 .
  _:765125 up:source unirule:MF_02217 .
  _:765126 up:source unirule:MF_02217 .
  _:765127 up:source unirule:MF_02217 .
  _:765128 up:source unirule:MF_02217 .
  _:765129 up:source unirule:MF_02217 .
  _:765130 up:source unirule:MF_02217 .
  _:765131 up:source unirule:MF_02217 .
  _:765132 up:source unirule:MF_02217 .
  _:765133 up:source unirule:MF_02217 .
  _:765134 up:source unirule:MF_02217 .
  _:765135 up:source unirule:MF_02217 .
  _:765136 up:source unirule:MF_02217 .
  _:765137 up:source unirule:MF_02217 .
  _:765138 up:source unirule:MF_02217 .
  _:765139 up:source unirule:MF_02217 .
  _:765140 up:source unirule:MF_02217 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation3 ,
      ?annotation4 ,
      ?annotation6 ,
      ?annotation7 ;
    up:classifiedWith GO:0016300 ,
      GO:0030488 ,
      keyword:489 ,
      keyword:808 ,
      keyword:819 ,
      keyword:949 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '2.1.1.-' ;
    up:fullName 'tRNA 5-hydroxyuridine methyltransferase' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'ho5U methyltransferase' ;
    rdf:type up:Structured_Name .
  ?gene2 skos:prefLabel 'trmR' .
  ?annotation3 a up:Function_Annotation ;
    rdfs:comment 'Catalyzes the methylation of 5-hydroxyuridine (ho5U) to form 5-methoxyuridine (mo5U) at position 34 in tRNAs.' .
  ?annotation4 up:activity ?activity5 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity5 up:catalyticActivity <http://rdf.rhea-db.org/60524>.
  ?annotation6 a up:Subunit_Annotation ;
    rdfs:comment 'Homodimer.' .
  ?annotation7 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the class I-like SAM-binding methyltransferase superfamily. Cation-dependent O-methyltransferase family.' .
  ?case8 up:classifiedWith GO:0000287 ,
      keyword:460 ,
      keyword:479 .
  ?pfs9 up:annotation ?annotation10 ,
      ?annotation16 ,
      ?annotation22 .
  ?annotation10 faldo:begin ?pfsb11 ;
    faldo:end ?pfse12 ;
    up:ligand ?ligand13 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb11 faldo:position ?thisPositionOn14 ;
    rdf:type faldo:ExactPosition .
  ?pfse12 faldo:position ?thisPositionOn15 ;
    rdf:type faldo:ExactPosition .
  ?ligand13 rdfs:subClassOf chebi:18420 .
  ?annotation16 faldo:begin ?pfsb17 ;
    faldo:end ?pfse18 ;
    up:ligand ?ligand19 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb17 faldo:position ?thisPositionOn20 ;
    rdf:type faldo:ExactPosition .
  ?pfse18 faldo:position ?thisPositionOn21 ;
    rdf:type faldo:ExactPosition .
  ?ligand19 rdfs:subClassOf chebi:18420 .
  ?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:18420 .
  ?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 .
  ?pfs35 up:annotation ?annotation36 .
  ?annotation36 faldo:begin ?pfsb37 ;
    faldo:end ?pfse38 ;
    up:ligand ?ligand39 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb37 faldo:position ?thisPositionOn40 ;
    rdf:type faldo:ExactPosition .
  ?pfse38 faldo:position ?thisPositionOn41 ;
    rdf:type faldo:ExactPosition .
  ?ligand39 rdfs:subClassOf chebi:59789 .
  ?pfs42 up:annotation ?annotation43 .
  ?annotation43 faldo:begin ?pfsb44 ;
    faldo:end ?pfse45 ;
    up:ligand ?ligand46 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb44 faldo:position ?thisPositionOn47 ;
    rdf:type faldo:ExactPosition .
  ?pfse45 faldo:position ?thisPositionOn48 ;
    rdf:type faldo:ExactPosition .
  ?ligand46 rdfs:subClassOf chebi:59789 .
  ?pfs49 up:annotation ?annotation50 .
  ?annotation50 faldo:begin ?pfsb51 ;
    faldo:end ?pfse52 ;
    up:ligand ?ligand53 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb51 faldo:position ?thisPositionOn54 ;
    rdf:type faldo:ExactPosition .
  ?pfse52 faldo:position ?thisPositionOn55 ;
    rdf:type faldo:ExactPosition .
  ?ligand53 rdfs:subClassOf chebi:59789 .
  ?pfs56 up:annotation ?annotation57 .
  ?annotation57 faldo:begin ?pfsb58 ;
    faldo:end ?pfse59 ;
    up:ligand ?ligand60 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb58 faldo:position ?thisPositionOn61 ;
    rdf:type faldo:ExactPosition .
  ?pfse59 faldo:position ?thisPositionOn62 ;
    rdf:type faldo:ExactPosition .
  ?ligand60 rdfs:subClassOf chebi:59789 .
  _:765141 a rdf:Statement ;
    up:attribution _:765117 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:765142 a rdf:Statement ;
    up:attribution _:765118 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:765143 a rdf:Statement ;
    up:attribution _:765119 ;
    rdf:subject ?gene2 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene2 .
  _:765144 a rdf:Statement ;
    up:attribution _:765120 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:765145 a rdf:Statement ;
    up:attribution _:765121 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:765146 a rdf:Statement ;
    up:attribution _:765122 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:765147 a rdf:Statement ;
    up:attribution _:765123 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation7 .
  _:765148 a rdf:Statement ;
    up:attribution _:765124 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:489 .
  _:765149 a rdf:Statement ;
    up:attribution _:765125 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:949 .
  _:765150 a rdf:Statement ;
    up:attribution _:765126 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:808 .
  _:765151 a rdf:Statement ;
    up:attribution _:765127 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:819 .
  _:765152 a rdf:Statement ;
    up:attribution _:765128 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0016300 .
  _:765153 a rdf:Statement ;
    up:attribution _:765129 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0030488 .
  _:765154 a rdf:Statement ;
    up:attribution _:765130 ;
    rdf:subject ?case8 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:460 .
  _:765155 a rdf:Statement ;
    up:attribution _:765131 ;
    rdf:subject ?case8 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:479 .
  _:765156 a rdf:Statement ;
    up:attribution _:765132 ;
    rdf:subject ?case8 ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0000287 .
  _:765157 a rdf:Statement ;
    up:source unirule:MF_02217 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:765158 a rdf:Statement ;
    up:attribution _:765133 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:765159 a rdf:Statement ;
    up:source unirule:MF_02217 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation16 .
  _:765160 a rdf:Statement ;
    up:attribution _:765134 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation16 .
  _:765161 a rdf:Statement ;
    up:source unirule:MF_02217 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation22 .
  _:765162 a rdf:Statement ;
    up:attribution _:765135 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation22 .
  _:765163 a rdf:Statement ;
    up:source unirule:MF_02217 ;
    rdf:subject ?pfs28 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation29 .
  _:765164 a rdf:Statement ;
    up:attribution _:765136 ;
    rdf:subject ?pfs28 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation29 .
  _:765165 a rdf:Statement ;
    up:source unirule:MF_02217 ;
    rdf:subject ?pfs35 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation36 .
  _:765166 a rdf:Statement ;
    up:attribution _:765137 ;
    rdf:subject ?pfs35 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation36 .
  _:765167 a rdf:Statement ;
    up:source unirule:MF_02217 ;
    rdf:subject ?pfs42 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation43 .
  _:765168 a rdf:Statement ;
    up:attribution _:765138 ;
    rdf:subject ?pfs42 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation43 .
  _:765169 a rdf:Statement ;
    up:source unirule:MF_02217 ;
    rdf:subject ?pfs49 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation50 .
  _:765170 a rdf:Statement ;
    up:attribution _:765139 ;
    rdf:subject ?pfs49 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation50 .
  _:765171 a rdf:Statement ;
    up:source unirule:MF_02217 ;
    rdf:subject ?pfs56 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation57 .
  _:765172 a rdf:Statement ;
    up:attribution _:765140 ;
    rdf:subject ?pfs56 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation57 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02217
  #Rule MF_02217 Created by:? on:2019-06-11 Modified by:Edouard de Castro on:2024-09-02
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02217 .
  ?thisOrganism rdfs:subClassOf+ taxon:2 .
  BIND(URI(CONCAT(STR(?this), '#MF_02217a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02217a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02217a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02217a4')) AS ?annotation4) .
  BIND(URI(CONCAT(STR(?this), '#MF_02217a6')) AS ?annotation6) .
  BIND(URI(CONCAT(STR(?this), '#MF_02217a7')) AS ?annotation7) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch67 faldo:location ?templateMotifSequenceMatchRegionO3203668 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationO3203670 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarO32036MF_0221763 .
    ?templateMotifSequenceMatchRegionO3203668 faldo:begin ?templateMotifSequenceMatchBeginO3203669 .
    ?templateMotifSequenceMatchBeginO3203669 faldo:position ?templateMotifSequenceMatchBeginPositionO3203664 ;
      faldo:reference isoform:O32036-1 .
    ?templateMotifSequenceProfileAlignmentOperationO3203670 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch71 faldo:location ?targetMotifMatchRegionMatch72 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0221774 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarO32036MF_0221765 .
    ?targetMotifMatchRegionMatch72 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0221773 .
    ?targetMotifMatchRegionMatchBeginMF_0221773 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0221766 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0221774 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    BIND(?this AS ?tagFTGRP_1) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_0221763, 1, (STRLEN(?templateMotifCigarO32036MF_0221763) - STRLEN(REPLACE(?templateMotifCigarO32036MF_0221763, CONCAT('^(?:-*[^-]){', STR(((133 - ?templateMotifSequenceMatchBeginPositionO3203664) + 1)), '}'), '')))), '[a-z]', '')) AS ?step175) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_0221765, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221765) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221765, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step175), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_0221765, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221765) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221765, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step175), '}'), '')))), '[^-]', ''))) AS ?step276) .
    BIND(((?step276 + ?targetMotifMatchRegionMatchBeginPositionMF_0221766) - 1) AS ?thisPositionOn14) .
    BIND(?thisPositionOn14 AS ?thisPositionOn15) .
    BIND(?this AS ?pfs1t77) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn14))) AS ?pfsb11) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn15))) AS ?pfse12) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn14, 1) = 'D')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_0221763, 1, (STRLEN(?templateMotifCigarO32036MF_0221763) - STRLEN(REPLACE(?templateMotifCigarO32036MF_0221763, CONCAT('^(?:-*[^-]){', STR(((159 - ?templateMotifSequenceMatchBeginPositionO3203664) + 1)), '}'), '')))), '[a-z]', '')) AS ?step178) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_0221765, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221765) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221765, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step178), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_0221765, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221765) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221765, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step178), '}'), '')))), '[^-]', ''))) AS ?step279) .
    BIND(((?step279 + ?targetMotifMatchRegionMatchBeginPositionMF_0221766) - 1) AS ?thisPositionOn20) .
    BIND(?thisPositionOn20 AS ?thisPositionOn21) .
    BIND(?this AS ?pfs1t80) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn20))) AS ?pfsb17) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn21))) AS ?pfse18) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn20, 1) = 'D')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_0221763, 1, (STRLEN(?templateMotifCigarO32036MF_0221763) - STRLEN(REPLACE(?templateMotifCigarO32036MF_0221763, CONCAT('^(?:-*[^-]){', STR(((160 - ?templateMotifSequenceMatchBeginPositionO3203664) + 1)), '}'), '')))), '[a-z]', '')) AS ?step181) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_0221765, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221765) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221765, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step181), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_0221765, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221765) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221765, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step181), '}'), '')))), '[^-]', ''))) AS ?step282) .
    BIND(((?step282 + ?targetMotifMatchRegionMatchBeginPositionMF_0221766) - 1) AS ?thisPositionOn26) .
    BIND(?thisPositionOn26 AS ?thisPositionOn27) .
    BIND(?this AS ?pfs1t83) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn26))) AS ?pfsb23) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn27))) AS ?pfse24) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn26, 1) = 'N')) .
    BIND(?this AS ?pfs9) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch88 faldo:location ?templateMotifSequenceMatchRegionO3203689 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationO3203691 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarO32036MF_0221784 .
    ?templateMotifSequenceMatchRegionO3203689 faldo:begin ?templateMotifSequenceMatchBeginO3203690 .
    ?templateMotifSequenceMatchBeginO3203690 faldo:position ?templateMotifSequenceMatchBeginPositionO3203685 ;
      faldo:reference isoform:O32036-1 .
    ?templateMotifSequenceProfileAlignmentOperationO3203691 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch92 faldo:location ?targetMotifMatchRegionMatch93 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0221795 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarO32036MF_0221786 .
    ?targetMotifMatchRegionMatch93 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0221794 .
    ?targetMotifMatchRegionMatchBeginMF_0221794 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0221787 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0221795 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_0221784, 1, (STRLEN(?templateMotifCigarO32036MF_0221784) - STRLEN(REPLACE(?templateMotifCigarO32036MF_0221784, CONCAT('^(?:-*[^-]){', STR(((113 - ?templateMotifSequenceMatchBeginPositionO3203685) + 1)), '}'), '')))), '[a-z]', '')) AS ?step196) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_0221786, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221786) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221786, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step196), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_0221786, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221786) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221786, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step196), '}'), '')))), '[^-]', ''))) AS ?step297) .
    BIND(((?step297 + ?targetMotifMatchRegionMatchBeginPositionMF_0221787) - 1) AS ?thisPositionOn33) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_0221784, 1, (STRLEN(?templateMotifCigarO32036MF_0221784) - STRLEN(REPLACE(?templateMotifCigarO32036MF_0221784, CONCAT('^(?:-*[^-]){', STR(((114 - ?templateMotifSequenceMatchBeginPositionO3203685) + 1)), '}'), '')))), '[a-z]', '')) AS ?step198) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_0221786, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221786) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221786, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step198), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_0221786, 1, (STRLEN(?targetMotifMatchCigarO32036MF_0221786) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_0221786, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step198), '}'), '')))), '[^-]', ''))) AS ?step299) .
    BIND(((?step299 + ?targetMotifMatchRegionMatchBeginPositionMF_0221787) - 1) AS ?thisPositionOn34) .
    BIND(?this AS ?pfs2t100) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn33))) AS ?pfsb30) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn34))) AS ?pfse31) .
    FILTER (REGEX('[DE]A', SUBSTR(?thisSequenceValue, ?thisPositionOn33, (?thisPositionOn34 - ?thisPositionOn33)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02217a29')) AS ?annotation29) .
    BIND(?this AS ?pfs28) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch105 faldo:location ?templateMotifSequenceMatchRegionO32036106 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationO32036108 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarO32036MF_02217101 .
    ?templateMotifSequenceMatchRegionO32036106 faldo:begin ?templateMotifSequenceMatchBeginO32036107 .
    ?templateMotifSequenceMatchBeginO32036107 faldo:position ?templateMotifSequenceMatchBeginPositionO32036102 ;
      faldo:reference isoform:O32036-1 .
    ?templateMotifSequenceProfileAlignmentOperationO32036108 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch109 faldo:location ?targetMotifMatchRegionMatch110 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_02217112 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarO32036MF_02217103 .
    ?targetMotifMatchRegionMatch110 faldo:begin ?targetMotifMatchRegionMatchBeginMF_02217111 .
    ?targetMotifMatchRegionMatchBeginMF_02217111 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_02217104 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_02217112 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_02217101, 1, (STRLEN(?templateMotifCigarO32036MF_02217101) - STRLEN(REPLACE(?templateMotifCigarO32036MF_02217101, CONCAT('^(?:-*[^-]){', STR(((38 - ?templateMotifSequenceMatchBeginPositionO32036102) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1113) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_02217103, 1, (STRLEN(?targetMotifMatchCigarO32036MF_02217103) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_02217103, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1113), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_02217103, 1, (STRLEN(?targetMotifMatchCigarO32036MF_02217103) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_02217103, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1113), '}'), '')))), '[^-]', ''))) AS ?step2114) .
    BIND(((?step2114 + ?targetMotifMatchRegionMatchBeginPositionMF_02217104) - 1) AS ?thisPositionOn40) .
    BIND(?thisPositionOn40 AS ?thisPositionOn41) .
    BIND(?this AS ?pfs2t115) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn40))) AS ?pfsb37) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn41))) AS ?pfse38) .
    FILTER (REGEX('[MVIL]', SUBSTR(?thisSequenceValue, ?thisPositionOn40, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02217a36')) AS ?annotation36) .
    BIND(?this AS ?pfs35) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch120 faldo:location ?templateMotifSequenceMatchRegionO32036121 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationO32036123 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarO32036MF_02217116 .
    ?templateMotifSequenceMatchRegionO32036121 faldo:begin ?templateMotifSequenceMatchBeginO32036122 .
    ?templateMotifSequenceMatchBeginO32036122 faldo:position ?templateMotifSequenceMatchBeginPositionO32036117 ;
      faldo:reference isoform:O32036-1 .
    ?templateMotifSequenceProfileAlignmentOperationO32036123 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch124 faldo:location ?targetMotifMatchRegionMatch125 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_02217127 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarO32036MF_02217118 .
    ?targetMotifMatchRegionMatch125 faldo:begin ?targetMotifMatchRegionMatchBeginMF_02217126 .
    ?targetMotifMatchRegionMatchBeginMF_02217126 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_02217119 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_02217127 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_02217116, 1, (STRLEN(?templateMotifCigarO32036MF_02217116) - STRLEN(REPLACE(?templateMotifCigarO32036MF_02217116, CONCAT('^(?:-*[^-]){', STR(((68 - ?templateMotifSequenceMatchBeginPositionO32036117) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1128) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_02217118, 1, (STRLEN(?targetMotifMatchCigarO32036MF_02217118) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_02217118, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1128), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_02217118, 1, (STRLEN(?targetMotifMatchCigarO32036MF_02217118) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_02217118, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1128), '}'), '')))), '[^-]', ''))) AS ?step2129) .
    BIND(((?step2129 + ?targetMotifMatchRegionMatchBeginPositionMF_02217119) - 1) AS ?thisPositionOn47) .
    BIND(?thisPositionOn47 AS ?thisPositionOn48) .
    BIND(?this AS ?pfs2t130) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn47))) AS ?pfsb44) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn48))) AS ?pfse45) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn47, 1) = 'S')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02217a43')) AS ?annotation43) .
    BIND(?this AS ?pfs42) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch135 faldo:location ?templateMotifSequenceMatchRegionO32036136 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationO32036138 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarO32036MF_02217131 .
    ?templateMotifSequenceMatchRegionO32036136 faldo:begin ?templateMotifSequenceMatchBeginO32036137 .
    ?templateMotifSequenceMatchBeginO32036137 faldo:position ?templateMotifSequenceMatchBeginPositionO32036132 ;
      faldo:reference isoform:O32036-1 .
    ?templateMotifSequenceProfileAlignmentOperationO32036138 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch139 faldo:location ?targetMotifMatchRegionMatch140 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_02217142 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarO32036MF_02217133 .
    ?targetMotifMatchRegionMatch140 faldo:begin ?targetMotifMatchRegionMatchBeginMF_02217141 .
    ?targetMotifMatchRegionMatchBeginMF_02217141 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_02217134 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_02217142 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_02217131, 1, (STRLEN(?templateMotifCigarO32036MF_02217131) - STRLEN(REPLACE(?templateMotifCigarO32036MF_02217131, CONCAT('^(?:-*[^-]){', STR(((85 - ?templateMotifSequenceMatchBeginPositionO32036132) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1143) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_02217133, 1, (STRLEN(?targetMotifMatchCigarO32036MF_02217133) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_02217133, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1143), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_02217133, 1, (STRLEN(?targetMotifMatchCigarO32036MF_02217133) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_02217133, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1143), '}'), '')))), '[^-]', ''))) AS ?step2144) .
    BIND(((?step2144 + ?targetMotifMatchRegionMatchBeginPositionMF_02217134) - 1) AS ?thisPositionOn54) .
    BIND(?thisPositionOn54 AS ?thisPositionOn55) .
    BIND(?this AS ?pfs2t145) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn54))) AS ?pfsb51) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn55))) AS ?pfse52) .
    FILTER (REGEX('[ED]', SUBSTR(?thisSequenceValue, ?thisPositionOn54, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02217a50')) AS ?annotation50) .
    BIND(?this AS ?pfs49) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch150 faldo:location ?templateMotifSequenceMatchRegionO32036151 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationO32036153 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarO32036MF_02217146 .
    ?templateMotifSequenceMatchRegionO32036151 faldo:begin ?templateMotifSequenceMatchBeginO32036152 .
    ?templateMotifSequenceMatchBeginO32036152 faldo:position ?templateMotifSequenceMatchBeginPositionO32036147 ;
      faldo:reference isoform:O32036-1 .
    ?templateMotifSequenceProfileAlignmentOperationO32036153 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch154 faldo:location ?targetMotifMatchRegionMatch155 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_02217157 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarO32036MF_02217148 .
    ?targetMotifMatchRegionMatch155 faldo:begin ?targetMotifMatchRegionMatchBeginMF_02217156 .
    ?targetMotifMatchRegionMatchBeginMF_02217156 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_02217149 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_02217157 edam:has_input signature:MF_02217 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarO32036MF_02217146, 1, (STRLEN(?templateMotifCigarO32036MF_02217146) - STRLEN(REPLACE(?templateMotifCigarO32036MF_02217146, CONCAT('^(?:-*[^-]){', STR(((133 - ?templateMotifSequenceMatchBeginPositionO32036147) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1158) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarO32036MF_02217148, 1, (STRLEN(?targetMotifMatchCigarO32036MF_02217148) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_02217148, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1158), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarO32036MF_02217148, 1, (STRLEN(?targetMotifMatchCigarO32036MF_02217148) - STRLEN(REPLACE(?targetMotifMatchCigarO32036MF_02217148, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1158), '}'), '')))), '[^-]', ''))) AS ?step2159) .
    BIND(((?step2159 + ?targetMotifMatchRegionMatchBeginPositionMF_02217149) - 1) AS ?thisPositionOn61) .
    BIND(?thisPositionOn61 AS ?thisPositionOn62) .
    BIND(?this AS ?pfs2t160) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn61))) AS ?pfsb58) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn62))) AS ?pfse59) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn61, 1) = 'D')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02217a57')) AS ?annotation57) .
    BIND(?this AS ?pfs56) .
  }
  OPTIONAL {
    ?this a up:Protein .
    BIND(?this AS ?caseWithTag161) .
  }
  BIND(IF(BOUND(?tagFTGRP_1), ?caseWithTag161, ?UNBOUND_VARIABLE) AS ?case8) .
}
""" .

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