@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_01554#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_01554#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-59>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-119>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-12>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-33>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-57>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-118>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-10>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-34>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-117>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-55>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-79>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-116>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-32>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-139>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-115>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-77>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-53>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-114>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-138>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-54>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-113>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-78>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-137>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-17>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-15>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-16>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-13>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-38>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-163>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-162>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-80>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-161>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-160>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-87>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-63>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-124>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-148>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-88>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-147>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-123>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-61>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-121>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-85>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-146>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-122>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-62>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-120>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-86>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-145>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-83>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-143>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-144>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-84>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-60>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-142>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-81>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-141>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-82>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-164>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-140>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-108>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-23>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-24>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-21>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-45>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-106>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-22>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-129>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-43>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-67>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-128>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-104>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-44>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-103>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-68>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-127>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-41>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-102>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-89>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-126>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-66>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-42>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-125>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-0>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-149>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-27>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-25>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-49>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-109>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-151>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-91>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-150>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-92>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-90>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-6>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-99>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-75>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-136>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-112>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-76>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-110>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-52>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-135>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-111>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-159>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-73>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-97>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-158>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-134>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-5>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-132>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-74>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-157>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-133>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-95>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-131>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-156>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-72>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-154>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-96>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-130>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-155>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-93>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-153>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-94>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-70>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-152>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-182>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-170>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-205>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-207>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-204>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-178>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-203>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-167>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-202>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-193>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-201>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-171>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-200>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-180>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-176>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-165>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-191>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-169>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-189>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-208>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-206>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-187>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-186>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-188>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-185>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-184>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-197>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-183>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-166>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-190>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-181>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-168>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-175>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-195>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-173>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-179>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-194>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-199>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-177>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-192>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-198>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-174>,
    <http://purl.uniprot.org/unirules/MF_01554#construct-template-172>, <http://purl.uniprot.org/unirules/MF_01554#construct-template-196>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_01554#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_01554#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:563092 up:source unirule:MF_01554 .
  _:563093 up:source unirule:MF_01554 .
  _:563094 up:source unirule:MF_01554 .
  _:563095 up:source unirule:MF_01554 .
  _:563096 up:source unirule:MF_01554 .
  _:563097 up:source unirule:MF_01554 .
  _:563098 up:source unirule:MF_01554 .
  _:563099 up:source unirule:MF_01554 .
  _:563100 up:source unirule:MF_01554 .
  _:563101 up:source unirule:MF_01554 .
  _:563102 up:source unirule:MF_01554 .
  _:563103 up:source unirule:MF_01554 .
  _:563104 up:source unirule:MF_01554 .
  _:563105 up:source unirule:MF_01554 .
  _:563106 up:source unirule:MF_01554 .
  _:563107 up:source unirule:MF_01554 .
  _:563108 up:source unirule:MF_01554 .
  _:563109 up:source unirule:MF_01554 .
  _:563110 up:source unirule:MF_01554 .
  _:563111 up:source unirule:MF_01554 .
  _:563112 up:source unirule:MF_01554 .
  _:563113 up:source unirule:MF_01554 .
  _:563114 up:source unirule:MF_01554 .
  _:563115 up:source unirule:MF_01554 .
  _:563116 up:source unirule:MF_01554 .
  ?this up:annotation ?annotation1 ,
      ?annotation2 ,
      ?annotation4 ,
      ?annotation5 ;
    up:classifiedWith GO:0008966 ,
      keyword:413 ,
      keyword:597 .
  ?gene0 skos:prefLabel 'glmM' .
  ?annotation1 a up:Function_Annotation ;
    rdfs:comment 'Catalyzes the conversion of glucosamine-6-phosphate to glucosamine-1-phosphate.' .
  ?annotation2 up:activity ?activity3 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity3 up:catalyticActivity <http://rdf.rhea-db.org/23424>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/5.4.2.10>.
  ?annotation4 a up:PTM_Annotation ;
    rdfs:comment 'Activated by phosphorylation.' .
  ?annotation5 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the phosphohexose mutase family.' .
  ?case6 up:classifiedWith GO:0000287 ,
      keyword:460 ,
      keyword:479 .
  ?case7 up:recommendedName ?name8 .
  ?name8 up:ecName '5.4.2.10' ;
    up:fullName 'Phosphoglucosamine mutase' ;
    rdf:type up:Structured_Name .
  ?case9 up:recommendedName ?name10 .
  ?name10 up:ecName '5.4.2.10' ;
    up:fullName 'Probable phosphoglucosamine mutase' ;
    rdf:type up:Structured_Name .
  ?pfs11 up:annotation ?annotation12 ,
      ?annotation18 ,
      ?annotation24 ,
      ?annotation30 .
  ?annotation12 faldo:begin ?pfsb13 ;
    faldo:end ?pfse14 ;
    up:ligand ?ligand15 ;
    rdf:type up:Binding_Site_Annotation ;
    rdfs:comment 'via phosphate group' .
  ?pfsb13 faldo:position ?thisPositionOn16 ;
    rdf:type faldo:ExactPosition .
  ?pfse14 faldo:position ?thisPositionOn17 ;
    rdf:type faldo:ExactPosition .
  ?ligand15 rdfs:subClassOf chebi:18420 .
  ?annotation18 faldo:begin ?pfsb19 ;
    faldo:end ?pfse20 ;
    up:ligand ?ligand21 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb19 faldo:position ?thisPositionOn22 ;
    rdf:type faldo:ExactPosition .
  ?pfse20 faldo:position ?thisPositionOn23 ;
    rdf:type faldo:ExactPosition .
  ?ligand21 rdfs:subClassOf chebi:18420 .
  ?annotation24 faldo:begin ?pfsb25 ;
    faldo:end ?pfse26 ;
    up:ligand ?ligand27 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb25 faldo:position ?thisPositionOn28 ;
    rdf:type faldo:ExactPosition .
  ?pfse26 faldo:position ?thisPositionOn29 ;
    rdf:type faldo:ExactPosition .
  ?ligand27 rdfs:subClassOf chebi:18420 .
  ?annotation30 faldo:begin ?pfsb31 ;
    faldo:end ?pfse32 ;
    up:ligand ?ligand33 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb31 faldo:position ?thisPositionOn34 ;
    rdf:type faldo:ExactPosition .
  ?pfse32 faldo:position ?thisPositionOn35 ;
    rdf:type faldo:ExactPosition .
  ?ligand33 rdfs:subClassOf chebi:18420 .
  ?pfs36 up:annotation ?annotation37 ,
      ?annotation43 ,
      ?annotation49 ,
      ?annotation55 .
  ?annotation37 faldo:begin ?pfsb38 ;
    faldo:end ?pfse39 ;
    up:ligand ?ligand40 ;
    rdf:type up:Binding_Site_Annotation ;
    rdfs:comment 'via phosphate group' .
  ?pfsb38 faldo:position ?thisPositionOn41 ;
    rdf:type faldo:ExactPosition .
  ?pfse39 faldo:position ?thisPositionOn42 ;
    rdf:type faldo:ExactPosition .
  ?ligand40 rdfs:subClassOf chebi:18420 .
  ?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:18420 .
  ?annotation49 faldo:begin ?pfsb50 ;
    faldo:end ?pfse51 ;
    up:ligand ?ligand52 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb50 faldo:position ?thisPositionOn53 ;
    rdf:type faldo:ExactPosition .
  ?pfse51 faldo:position ?thisPositionOn54 ;
    rdf:type faldo:ExactPosition .
  ?ligand52 rdfs:subClassOf chebi:18420 .
  ?annotation55 faldo:begin ?pfsb56 ;
    faldo:end ?pfse57 ;
    up:ligand ?ligand58 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb56 faldo:position ?thisPositionOn59 ;
    rdf:type faldo:ExactPosition .
  ?pfse57 faldo:position ?thisPositionOn60 ;
    rdf:type faldo:ExactPosition .
  ?ligand58 rdfs:subClassOf chebi:18420 .
  ?pfs61 up:annotation ?annotation62 .
  ?annotation62 faldo:begin ?pfsb63 ;
    faldo:end ?pfse64 ;
    rdf:type up:Active_Site_Annotation ;
    rdfs:comment 'Phosphoserine intermediate' .
  ?pfsb63 faldo:position ?thisPositionOn65 ;
    rdf:type faldo:ExactPosition .
  ?pfse64 faldo:position ?thisPositionOn66 ;
    rdf:type faldo:ExactPosition .
  ?pfs67 up:annotation ?annotation68 .
  ?annotation68 faldo:begin ?pfsb69 ;
    faldo:end ?pfse70 ;
    rdf:type up:Modified_Residue_Annotation ;
    rdfs:comment 'Phosphoserine' .
  ?pfsb69 faldo:position ?thisPositionOn71 ;
    rdf:type faldo:ExactPosition .
  ?pfse70 faldo:position ?thisPositionOn72 ;
    rdf:type faldo:ExactPosition .
  ?pfs73 up:annotation ?annotation74 .
  ?annotation74 faldo:begin ?pfsb75 ;
    faldo:end ?pfse76 ;
    rdf:type up:Active_Site_Annotation ;
    rdfs:comment 'Phosphoserine intermediate' .
  ?pfsb75 faldo:position ?thisPositionOn77 ;
    rdf:type faldo:ExactPosition .
  ?pfse76 faldo:position ?thisPositionOn78 ;
    rdf:type faldo:ExactPosition .
  ?pfs79 up:annotation ?annotation80 .
  ?annotation80 faldo:begin ?pfsb81 ;
    faldo:end ?pfse82 ;
    rdf:type up:Modified_Residue_Annotation ;
    rdfs:comment 'Phosphoserine' .
  ?pfsb81 faldo:position ?thisPositionOn83 ;
    rdf:type faldo:ExactPosition .
  ?pfse82 faldo:position ?thisPositionOn84 ;
    rdf:type faldo:ExactPosition .
  _:563117 a rdf:Statement ;
    up:attribution _:563092 ;
    rdf:subject ?gene0 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene0 .
  _:563118 a rdf:Statement ;
    up:attribution _:563093 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation1 .
  _:563119 a rdf:Statement ;
    up:attribution _:563094 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:563120 a rdf:Statement ;
    up:attribution _:563095 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:563121 a rdf:Statement ;
    up:attribution _:563096 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:563122 a rdf:Statement ;
    up:attribution _:563097 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:413 .
  _:563123 a rdf:Statement ;
    up:attribution _:563098 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:597 .
  _:563124 a rdf:Statement ;
    up:attribution _:563099 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0008966 .
  _:563125 a rdf:Statement ;
    up:attribution _:563100 ;
    rdf:subject ?case6 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:460 .
  _:563126 a rdf:Statement ;
    up:attribution _:563101 ;
    rdf:subject ?case6 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:479 .
  _:563127 a rdf:Statement ;
    up:attribution _:563102 ;
    rdf:subject ?case6 ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0000287 .
  _:563128 a rdf:Statement ;
    up:attribution _:563103 ;
    rdf:subject ?case7 ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name8 .
  _:563129 a rdf:Statement ;
    up:attribution _:563104 ;
    rdf:subject ?case9 ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name10 .
  _:563130 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs11 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation12 .
  _:563131 a rdf:Statement ;
    up:attribution _:563105 ;
    rdf:subject ?pfs11 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation12 .
  _:563132 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs11 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation18 .
  _:563133 a rdf:Statement ;
    up:attribution _:563106 ;
    rdf:subject ?pfs11 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation18 .
  _:563134 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs11 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation24 .
  _:563135 a rdf:Statement ;
    up:attribution _:563107 ;
    rdf:subject ?pfs11 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation24 .
  _:563136 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs11 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation30 .
  _:563137 a rdf:Statement ;
    up:attribution _:563108 ;
    rdf:subject ?pfs11 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation30 .
  _:563138 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation37 .
  _:563139 a rdf:Statement ;
    up:attribution _:563109 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation37 .
  _:563140 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation43 .
  _:563141 a rdf:Statement ;
    up:attribution _:563110 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation43 .
  _:563142 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation49 .
  _:563143 a rdf:Statement ;
    up:attribution _:563111 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation49 .
  _:563144 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation55 .
  _:563145 a rdf:Statement ;
    up:attribution _:563112 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation55 .
  _:563146 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs61 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation62 .
  _:563147 a rdf:Statement ;
    up:attribution _:563113 ;
    rdf:subject ?pfs61 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation62 .
  _:563148 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs67 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation68 .
  _:563149 a rdf:Statement ;
    up:attribution _:563114 ;
    rdf:subject ?pfs67 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation68 .
  _:563150 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs73 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation74 .
  _:563151 a rdf:Statement ;
    up:attribution _:563115 ;
    rdf:subject ?pfs73 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation74 .
  _:563152 a rdf:Statement ;
    up:source unirule:MF_01554 ;
    rdf:subject ?pfs79 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation80 .
  _:563153 a rdf:Statement ;
    up:attribution _:563116 ;
    rdf:subject ?pfs79 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation80 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_01554
  #Rule MF_01554 Created by:? on:2005-12-06 Modified by:Edouard de Castro on:2023-06-01
  {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01554_B .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
  } UNION {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01554_A .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
  }
  BIND(URI(CONCAT(STR(?this), '#MF_01554a1')) AS ?annotation1) .
  BIND(URI(CONCAT(STR(?this), '#MF_01554a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_01554a4')) AS ?annotation4) .
  BIND(URI(CONCAT(STR(?this), '#MF_01554a5')) AS ?annotation5) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch89 faldo:location ?templateMotifSequenceMatchRegionQ6LYB490 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ6LYB492 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ6LYB4MF_01554_A85 .
    ?templateMotifSequenceMatchRegionQ6LYB490 faldo:begin ?templateMotifSequenceMatchBeginQ6LYB491 .
    ?templateMotifSequenceMatchBeginQ6LYB491 faldo:position ?templateMotifSequenceMatchBeginPositionQ6LYB486 ;
      faldo:reference isoform:Q6LYB4-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ6LYB492 edam:has_input signature:MF_01554_A ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch93 faldo:location ?targetMotifMatchRegionMatch94 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01554_A96 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ6LYB4MF_01554_A87 .
    ?targetMotifMatchRegionMatch94 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01554_A95 .
    ?targetMotifMatchRegionMatchBeginMF_01554_A95 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01554_A88 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01554_A96 edam:has_input signature:MF_01554_A ;
      rdf:type edam:operation_0300 .
    BIND(?this AS ?tagFTGRP_1) .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ6LYB4MF_01554_A85, 1, (STRLEN(?templateMotifCigarQ6LYB4MF_01554_A85) - STRLEN(REPLACE(?templateMotifCigarQ6LYB4MF_01554_A85, CONCAT('^(?:-*[^-]){', STR(((88 - ?templateMotifSequenceMatchBeginPositionQ6LYB486) + 1)), '}'), '')))), '[a-z]', '')) AS ?step197) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A87, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A87) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A87, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step197), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A87, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A87) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A87, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step197), '}'), '')))), '[^-]', ''))) AS ?step298) .
    BIND(((?step298 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_A88) - 1) AS ?thisPositionOn16) .
    BIND(?thisPositionOn16 AS ?thisPositionOn17) .
    BIND(?this AS ?pfs1t99) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn16))) AS ?pfsb13) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn17))) AS ?pfse14) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn16, 1) = 'S')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ6LYB4MF_01554_A85, 1, (STRLEN(?templateMotifCigarQ6LYB4MF_01554_A85) - STRLEN(REPLACE(?templateMotifCigarQ6LYB4MF_01554_A85, CONCAT('^(?:-*[^-]){', STR(((231 - ?templateMotifSequenceMatchBeginPositionQ6LYB486) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1100) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A87, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A87) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A87, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1100), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A87, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A87) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A87, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1100), '}'), '')))), '[^-]', ''))) AS ?step2101) .
    BIND(((?step2101 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_A88) - 1) AS ?thisPositionOn22) .
    BIND(?thisPositionOn22 AS ?thisPositionOn23) .
    BIND(?this AS ?pfs1t102) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn22))) AS ?pfsb19) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn23))) AS ?pfse20) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn22, 1) = 'D')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ6LYB4MF_01554_A85, 1, (STRLEN(?templateMotifCigarQ6LYB4MF_01554_A85) - STRLEN(REPLACE(?templateMotifCigarQ6LYB4MF_01554_A85, CONCAT('^(?:-*[^-]){', STR(((233 - ?templateMotifSequenceMatchBeginPositionQ6LYB486) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1103) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A87, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A87) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A87, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1103), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A87, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A87) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A87, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1103), '}'), '')))), '[^-]', ''))) AS ?step2104) .
    BIND(((?step2104 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_A88) - 1) AS ?thisPositionOn28) .
    BIND(?thisPositionOn28 AS ?thisPositionOn29) .
    BIND(?this AS ?pfs1t105) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn28))) AS ?pfsb25) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn29))) AS ?pfse26) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn28, 1) = 'D')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ6LYB4MF_01554_A85, 1, (STRLEN(?templateMotifCigarQ6LYB4MF_01554_A85) - STRLEN(REPLACE(?templateMotifCigarQ6LYB4MF_01554_A85, CONCAT('^(?:-*[^-]){', STR(((235 - ?templateMotifSequenceMatchBeginPositionQ6LYB486) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1106) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A87, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A87) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A87, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1106), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A87, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A87) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A87, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1106), '}'), '')))), '[^-]', ''))) AS ?step2107) .
    BIND(((?step2107 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_A88) - 1) AS ?thisPositionOn34) .
    BIND(?thisPositionOn34 AS ?thisPositionOn35) .
    BIND(?this AS ?pfs1t108) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn34))) AS ?pfsb31) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn35))) AS ?pfse32) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn34, 1) = 'D')) .
    BIND(?this AS ?pfs11) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch113 faldo:location ?templateMotifSequenceMatchRegionP31120114 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP31120116 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP31120MF_01554_B109 .
    ?templateMotifSequenceMatchRegionP31120114 faldo:begin ?templateMotifSequenceMatchBeginP31120115 .
    ?templateMotifSequenceMatchBeginP31120115 faldo:position ?templateMotifSequenceMatchBeginPositionP31120110 ;
      faldo:reference isoform:P31120-1 .
    ?templateMotifSequenceProfileAlignmentOperationP31120116 edam:has_input signature:MF_01554_B ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch117 faldo:location ?targetMotifMatchRegionMatch118 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01554_B120 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP31120MF_01554_B111 .
    ?targetMotifMatchRegionMatch118 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01554_B119 .
    ?targetMotifMatchRegionMatchBeginMF_01554_B119 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01554_B112 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01554_B120 edam:has_input signature:MF_01554_B ;
      rdf:type edam:operation_0300 .
    BIND(?this AS ?tagFTGRP_1) .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31120MF_01554_B109, 1, (STRLEN(?templateMotifCigarP31120MF_01554_B109) - STRLEN(REPLACE(?templateMotifCigarP31120MF_01554_B109, CONCAT('^(?:-*[^-]){', STR(((102 - ?templateMotifSequenceMatchBeginPositionP31120110) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1121) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B111, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B111) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1121), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B111, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B111) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1121), '}'), '')))), '[^-]', ''))) AS ?step2122) .
    BIND(((?step2122 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_B112) - 1) AS ?thisPositionOn41) .
    BIND(?thisPositionOn41 AS ?thisPositionOn42) .
    BIND(?this AS ?pfs2t123) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn41))) AS ?pfsb38) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn42))) AS ?pfse39) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn41, 1) = 'S')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31120MF_01554_B109, 1, (STRLEN(?templateMotifCigarP31120MF_01554_B109) - STRLEN(REPLACE(?templateMotifCigarP31120MF_01554_B109, CONCAT('^(?:-*[^-]){', STR(((241 - ?templateMotifSequenceMatchBeginPositionP31120110) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1124) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B111, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B111) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1124), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B111, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B111) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1124), '}'), '')))), '[^-]', ''))) AS ?step2125) .
    BIND(((?step2125 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_B112) - 1) AS ?thisPositionOn47) .
    BIND(?thisPositionOn47 AS ?thisPositionOn48) .
    BIND(?this AS ?pfs2t126) .
    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) = 'D')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31120MF_01554_B109, 1, (STRLEN(?templateMotifCigarP31120MF_01554_B109) - STRLEN(REPLACE(?templateMotifCigarP31120MF_01554_B109, CONCAT('^(?:-*[^-]){', STR(((243 - ?templateMotifSequenceMatchBeginPositionP31120110) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1127) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B111, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B111) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1127), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B111, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B111) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1127), '}'), '')))), '[^-]', ''))) AS ?step2128) .
    BIND(((?step2128 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_B112) - 1) AS ?thisPositionOn53) .
    BIND(?thisPositionOn53 AS ?thisPositionOn54) .
    BIND(?this AS ?pfs2t129) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn53))) AS ?pfsb50) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn54))) AS ?pfse51) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn53, 1) = 'D')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31120MF_01554_B109, 1, (STRLEN(?templateMotifCigarP31120MF_01554_B109) - STRLEN(REPLACE(?templateMotifCigarP31120MF_01554_B109, CONCAT('^(?:-*[^-]){', STR(((245 - ?templateMotifSequenceMatchBeginPositionP31120110) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1130) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B111, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B111) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1130), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B111, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B111) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1130), '}'), '')))), '[^-]', ''))) AS ?step2131) .
    BIND(((?step2131 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_B112) - 1) AS ?thisPositionOn59) .
    BIND(?thisPositionOn59 AS ?thisPositionOn60) .
    BIND(?this AS ?pfs2t132) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn59))) AS ?pfsb56) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn60))) AS ?pfse57) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn59, 1) = 'D')) .
    BIND(?this AS ?pfs36) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch137 faldo:location ?templateMotifSequenceMatchRegionQ6LYB4138 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ6LYB4140 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ6LYB4MF_01554_A133 .
    ?templateMotifSequenceMatchRegionQ6LYB4138 faldo:begin ?templateMotifSequenceMatchBeginQ6LYB4139 .
    ?templateMotifSequenceMatchBeginQ6LYB4139 faldo:position ?templateMotifSequenceMatchBeginPositionQ6LYB4134 ;
      faldo:reference isoform:Q6LYB4-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ6LYB4140 edam:has_input signature:MF_01554_A ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch141 faldo:location ?targetMotifMatchRegionMatch142 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01554_A144 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ6LYB4MF_01554_A135 .
    ?targetMotifMatchRegionMatch142 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01554_A143 .
    ?targetMotifMatchRegionMatchBeginMF_01554_A143 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01554_A136 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01554_A144 edam:has_input signature:MF_01554_A ;
      rdf:type edam:operation_0300 .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ6LYB4MF_01554_A133, 1, (STRLEN(?templateMotifCigarQ6LYB4MF_01554_A133) - STRLEN(REPLACE(?templateMotifCigarQ6LYB4MF_01554_A133, CONCAT('^(?:-*[^-]){', STR(((88 - ?templateMotifSequenceMatchBeginPositionQ6LYB4134) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1145) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A135, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A135) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A135, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1145), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A135, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A135) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A135, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1145), '}'), '')))), '[^-]', ''))) AS ?step2146) .
    BIND(((?step2146 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_A136) - 1) AS ?thisPositionOn65) .
    BIND(?thisPositionOn65 AS ?thisPositionOn66) .
    BIND(?this AS ?pfs3t147) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn65))) AS ?pfsb63) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn66))) AS ?pfse64) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn65, 1) = 'S')) .
    BIND(URI(CONCAT(STR(?this), '#MF_01554a62')) AS ?annotation62) .
    BIND(?this AS ?pfs61) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch152 faldo:location ?templateMotifSequenceMatchRegionQ6LYB4153 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ6LYB4155 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ6LYB4MF_01554_A148 .
    ?templateMotifSequenceMatchRegionQ6LYB4153 faldo:begin ?templateMotifSequenceMatchBeginQ6LYB4154 .
    ?templateMotifSequenceMatchBeginQ6LYB4154 faldo:position ?templateMotifSequenceMatchBeginPositionQ6LYB4149 ;
      faldo:reference isoform:Q6LYB4-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ6LYB4155 edam:has_input signature:MF_01554_A ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch156 faldo:location ?targetMotifMatchRegionMatch157 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01554_A159 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ6LYB4MF_01554_A150 .
    ?targetMotifMatchRegionMatch157 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01554_A158 .
    ?targetMotifMatchRegionMatchBeginMF_01554_A158 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01554_A151 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01554_A159 edam:has_input signature:MF_01554_A ;
      rdf:type edam:operation_0300 .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ6LYB4MF_01554_A148, 1, (STRLEN(?templateMotifCigarQ6LYB4MF_01554_A148) - STRLEN(REPLACE(?templateMotifCigarQ6LYB4MF_01554_A148, CONCAT('^(?:-*[^-]){', STR(((88 - ?templateMotifSequenceMatchBeginPositionQ6LYB4149) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1160) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A150, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A150) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A150, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1160), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ6LYB4MF_01554_A150, 1, (STRLEN(?targetMotifMatchCigarQ6LYB4MF_01554_A150) - STRLEN(REPLACE(?targetMotifMatchCigarQ6LYB4MF_01554_A150, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1160), '}'), '')))), '[^-]', ''))) AS ?step2161) .
    BIND(((?step2161 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_A151) - 1) AS ?thisPositionOn71) .
    BIND(?thisPositionOn71 AS ?thisPositionOn72) .
    BIND(?this AS ?pfs3t162) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn71))) AS ?pfsb69) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn72))) AS ?pfse70) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn71, 1) = 'S')) .
    BIND(URI(CONCAT(STR(?this), '#MF_01554a68')) AS ?annotation68) .
    BIND(?this AS ?pfs67) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch167 faldo:location ?templateMotifSequenceMatchRegionP31120168 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP31120170 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP31120MF_01554_B163 .
    ?templateMotifSequenceMatchRegionP31120168 faldo:begin ?templateMotifSequenceMatchBeginP31120169 .
    ?templateMotifSequenceMatchBeginP31120169 faldo:position ?templateMotifSequenceMatchBeginPositionP31120164 ;
      faldo:reference isoform:P31120-1 .
    ?templateMotifSequenceProfileAlignmentOperationP31120170 edam:has_input signature:MF_01554_B ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch171 faldo:location ?targetMotifMatchRegionMatch172 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01554_B174 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP31120MF_01554_B165 .
    ?targetMotifMatchRegionMatch172 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01554_B173 .
    ?targetMotifMatchRegionMatchBeginMF_01554_B173 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01554_B166 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01554_B174 edam:has_input signature:MF_01554_B ;
      rdf:type edam:operation_0300 .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31120MF_01554_B163, 1, (STRLEN(?templateMotifCigarP31120MF_01554_B163) - STRLEN(REPLACE(?templateMotifCigarP31120MF_01554_B163, CONCAT('^(?:-*[^-]){', STR(((102 - ?templateMotifSequenceMatchBeginPositionP31120164) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1175) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B165, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B165) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B165, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1175), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B165, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B165) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B165, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1175), '}'), '')))), '[^-]', ''))) AS ?step2176) .
    BIND(((?step2176 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_B166) - 1) AS ?thisPositionOn77) .
    BIND(?thisPositionOn77 AS ?thisPositionOn78) .
    BIND(?this AS ?pfs4t177) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn77))) AS ?pfsb75) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn78))) AS ?pfse76) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn77, 1) = 'S')) .
    BIND(URI(CONCAT(STR(?this), '#MF_01554a74')) AS ?annotation74) .
    BIND(?this AS ?pfs73) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch182 faldo:location ?templateMotifSequenceMatchRegionP31120183 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP31120185 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP31120MF_01554_B178 .
    ?templateMotifSequenceMatchRegionP31120183 faldo:begin ?templateMotifSequenceMatchBeginP31120184 .
    ?templateMotifSequenceMatchBeginP31120184 faldo:position ?templateMotifSequenceMatchBeginPositionP31120179 ;
      faldo:reference isoform:P31120-1 .
    ?templateMotifSequenceProfileAlignmentOperationP31120185 edam:has_input signature:MF_01554_B ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch186 faldo:location ?targetMotifMatchRegionMatch187 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01554_B189 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP31120MF_01554_B180 .
    ?targetMotifMatchRegionMatch187 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01554_B188 .
    ?targetMotifMatchRegionMatchBeginMF_01554_B188 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01554_B181 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01554_B189 edam:has_input signature:MF_01554_B ;
      rdf:type edam:operation_0300 .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31120MF_01554_B178, 1, (STRLEN(?templateMotifCigarP31120MF_01554_B178) - STRLEN(REPLACE(?templateMotifCigarP31120MF_01554_B178, CONCAT('^(?:-*[^-]){', STR(((102 - ?templateMotifSequenceMatchBeginPositionP31120179) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1190) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B180, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B180) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B180, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1190), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31120MF_01554_B180, 1, (STRLEN(?targetMotifMatchCigarP31120MF_01554_B180) - STRLEN(REPLACE(?targetMotifMatchCigarP31120MF_01554_B180, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1190), '}'), '')))), '[^-]', ''))) AS ?step2191) .
    BIND(((?step2191 + ?targetMotifMatchRegionMatchBeginPositionMF_01554_B181) - 1) AS ?thisPositionOn83) .
    BIND(?thisPositionOn83 AS ?thisPositionOn84) .
    BIND(?this AS ?pfs4t192) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn83))) AS ?pfsb81) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn84))) AS ?pfse82) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn83, 1) = 'S')) .
    BIND(URI(CONCAT(STR(?this), '#MF_01554a80')) AS ?annotation80) .
    BIND(?this AS ?pfs79) .
  }
  OPTIONAL {
    ?this a up:Protein .
    BIND(?this AS ?caseWithTag193) .
  }
  BIND(IF(BOUND(?tagFTGRP_1), ?caseWithTag193, ?UNBOUND_VARIABLE) AS ?case6) .
  OPTIONAL {
    ?this a up:Protein .
    VALUES ?supertaxon194 {taxon:2 taxon:183939}
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ ?supertaxon194 .
    BIND(?this AS ?case7) .
    BIND(URI(CONCAT(STR(?this), '#MF_01554a8')) AS ?name8) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    FILTER (! (EXISTS {
      VALUES ?supertaxon195 {taxon:2 taxon:183939}
      ?thisOrganism rdfs:subClassOf+ ?supertaxon195 .
    })) .
    BIND(?this AS ?case9) .
    BIND(URI(CONCAT(STR(?this), '#MF_01554a10')) AS ?name10) .
  }
}
""" .

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