@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_02089#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_02089#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-117>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-118>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-94>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-70>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-135>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-111>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-78>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-7>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-110>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-68>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-59>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-93>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-136>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-112>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-24>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-128>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-74>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-106>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-12>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-96>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-72>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-133>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-132>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-58>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-95>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-87>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-36>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-134>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-92>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-85>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-44>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-50>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-46>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-75>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-115>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-0>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-97>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-89>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-116>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-83>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-29>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-121>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-76>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-52>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-18>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-113>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-137>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-99>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-51>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-114>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-90>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-9>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-138>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-49>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-33>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-102>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-126>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-66>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-60>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-30>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-63>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-11>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-130>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-79>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-131>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-14>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-91>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-55>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-108>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-21>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-67>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-82>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-81>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-37>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-42>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-53>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-54>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-88>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-3>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-17>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-125>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-77>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-19>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-119>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-107>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-10>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-56>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-86>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-34>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-80>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-123>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-103>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-105>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-62>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-41>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-124>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-120>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-84>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-122>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-127>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-129>,
    <http://purl.uniprot.org/unirules/MF_02089#construct-template-45>, <http://purl.uniprot.org/unirules/MF_02089#construct-template-109>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02089#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02089#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:741235 up:source unirule:MF_02089 .
  _:741236 up:source unirule:MF_02089 .
  _:741237 up:source unirule:MF_02089 .
  _:741238 up:source unirule:MF_02089 .
  _:741239 up:source unirule:MF_02089 .
  _:741240 up:source unirule:MF_02089 .
  _:741241 up:source unirule:MF_02089 .
  _:741242 up:source unirule:MF_02089 .
  _:741243 up:source unirule:MF_02089 .
  _:741244 up:source unirule:MF_02089 .
  _:741245 up:source unirule:MF_02089 .
  _:741246 up:source unirule:MF_02089 .
  _:741247 up:source unirule:MF_02089 .
  _:741248 up:source unirule:MF_02089 .
  _:741249 up:source unirule:MF_02089 .
  _:741250 up:source unirule:MF_02089 .
  _:741251 up:source unirule:MF_02089 .
  _:741252 up:source unirule:MF_02089 .
  _:741253 up:source unirule:MF_02089 .
  _:741254 up:source unirule:MF_02089 .
  _:741255 up:source unirule:MF_02089 .
  _:741256 up:source unirule:MF_02089 .
  _:741257 up:source unirule:MF_02089 .
  _:741258 up:source unirule:MF_02089 .
  _:741259 up:source unirule:MF_02089 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation3 ,
      ?annotation4 ,
      ?annotation6 ,
      ?annotation7 ;
    up:classifiedWith GO:0006400 ,
      GO:0008616 ,
      GO:0052693 ,
      keyword:1015 ,
      keyword:560 ,
      keyword:671 ,
      keyword:676 ,
      keyword:819 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '1.17.99.6' ;
    up:fullName 'Epoxyqueuosine reductase QueH' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'Queuosine biosynthesis protein QueH' ;
    rdf:type up:Structured_Name .
  ?gene2 skos:prefLabel 'queH' .
  ?annotation3 a up:Function_Annotation ;
    rdfs:comment 'Catalyzes the conversion of epoxyqueuosine (oQ) to queuosine (Q), which is a hypermodified base found in the wobble positions of tRNA(Asp), tRNA(Asn), tRNA(His) and tRNA(Tyr).' .
  ?annotation4 up:activity ?activity5 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity5 up:catalyticActivity <http://rdf.rhea-db.org/32159>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/1.17.99.6>.
  ?annotation6 a up:Pathway_Annotation ;
    rdfs:comment 'tRNA modification; tRNA-queuosine biosynthesis.' .
  ?annotation7 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the QueH family.' .
  ?case8 up:classifiedWith GO:0051539 ,
      keyword:408 ,
      keyword:411 ,
      keyword:479 ,
      keyword:4 .
  ?pfs9 up:annotation ?annotation10 ,
      ?annotation16 ,
      ?annotation22 ,
      ?annotation28 .
  ?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:49883 .
  ?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:49883 .
  ?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:49883 .
  ?annotation28 faldo:begin ?pfsb29 ;
    faldo:end ?pfse30 ;
    up:ligand ?ligand31 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb29 faldo:position ?thisPositionOn32 ;
    rdf:type faldo:ExactPosition .
  ?pfse30 faldo:position ?thisPositionOn33 ;
    rdf:type faldo:ExactPosition .
  ?ligand31 rdfs:subClassOf chebi:49883 .
  ?pfs34 up:annotation ?annotation35 .
  ?annotation35 faldo:begin ?pfsb36 ;
    faldo:end ?pfse37 ;
    rdf:type up:Disulfide_Bond_Annotation ;
    rdfs:comment 'Redox-active' .
  ?pfsb36 faldo:position ?thisPositionOn38 ;
    rdf:type faldo:ExactPosition .
  ?pfse37 faldo:position ?thisPositionOn39 ;
    rdf:type faldo:ExactPosition .
  _:741260 a rdf:Statement ;
    up:attribution _:741235 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:741261 a rdf:Statement ;
    up:attribution _:741236 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:741262 a rdf:Statement ;
    up:attribution _:741237 ;
    rdf:subject ?gene2 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene2 .
  _:741263 a rdf:Statement ;
    up:attribution _:741238 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:741264 a rdf:Statement ;
    up:attribution _:741239 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:741265 a rdf:Statement ;
    up:attribution _:741240 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:741266 a rdf:Statement ;
    up:attribution _:741241 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation7 .
  _:741267 a rdf:Statement ;
    up:attribution _:741242 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1015 .
  _:741268 a rdf:Statement ;
    up:attribution _:741243 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:560 .
  _:741269 a rdf:Statement ;
    up:attribution _:741244 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:671 .
  _:741270 a rdf:Statement ;
    up:attribution _:741245 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:676 .
  _:741271 a rdf:Statement ;
    up:attribution _:741246 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:819 .
  _:741272 a rdf:Statement ;
    up:attribution _:741247 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0052693 .
  _:741273 a rdf:Statement ;
    up:attribution _:741248 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0008616 .
  _:741274 a rdf:Statement ;
    up:attribution _:741249 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0006400 .
  _:741275 a rdf:Statement ;
    up:attribution _:741250 ;
    rdf:subject ?case8 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:4 .
  _:741276 a rdf:Statement ;
    up:attribution _:741251 ;
    rdf:subject ?case8 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:408 .
  _:741277 a rdf:Statement ;
    up:attribution _:741252 ;
    rdf:subject ?case8 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:411 .
  _:741278 a rdf:Statement ;
    up:attribution _:741253 ;
    rdf:subject ?case8 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:479 .
  _:741279 a rdf:Statement ;
    up:attribution _:741254 ;
    rdf:subject ?case8 ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0051539 .
  _:741280 a rdf:Statement ;
    up:source unirule:MF_02089 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:741281 a rdf:Statement ;
    up:attribution _:741255 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:741282 a rdf:Statement ;
    up:source unirule:MF_02089 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation16 .
  _:741283 a rdf:Statement ;
    up:attribution _:741256 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation16 .
  _:741284 a rdf:Statement ;
    up:source unirule:MF_02089 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation22 .
  _:741285 a rdf:Statement ;
    up:attribution _:741257 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation22 .
  _:741286 a rdf:Statement ;
    up:source unirule:MF_02089 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation28 .
  _:741287 a rdf:Statement ;
    up:attribution _:741258 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation28 .
  _:741288 a rdf:Statement ;
    up:source unirule:MF_02089 ;
    rdf:subject ?pfs34 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation35 .
  _:741289 a rdf:Statement ;
    up:attribution _:741259 ;
    rdf:subject ?pfs34 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation35 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02089
  #Rule MF_02089 Created by:? on:2017-03-23 Modified by:Catherine Rivoire on:2025-06-12
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02089 .
  ?thisOrganism rdfs:subClassOf+ taxon:2 .
  BIND(URI(CONCAT(STR(?this), '#MF_02089a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02089a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02089a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02089a4')) AS ?annotation4) .
  BIND(URI(CONCAT(STR(?this), '#MF_02089a6')) AS ?annotation6) .
  BIND(URI(CONCAT(STR(?this), '#MF_02089a7')) AS ?annotation7) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch44 faldo:location ?templateMotifSequenceMatchRegionA0A0H3JUG645 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationA0A0H3JUG647 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarA0A0H3JUG6MF_0208940 .
    ?templateMotifSequenceMatchRegionA0A0H3JUG645 faldo:begin ?templateMotifSequenceMatchBeginA0A0H3JUG646 .
    ?templateMotifSequenceMatchBeginA0A0H3JUG646 faldo:position ?templateMotifSequenceMatchBeginPositionA0A0H3JUG641 ;
      faldo:reference isoform:A0A0H3JUG6-1 .
    ?templateMotifSequenceProfileAlignmentOperationA0A0H3JUG647 edam:has_input signature:MF_02089 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch48 faldo:location ?targetMotifMatchRegionMatch49 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0208951 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarA0A0H3JUG6MF_0208942 .
    ?targetMotifMatchRegionMatch49 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0208950 .
    ?targetMotifMatchRegionMatchBeginMF_0208950 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0208943 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0208951 edam:has_input signature:MF_02089 ;
      rdf:type edam:operation_0300 .
    BIND(?this AS ?tagFTGRP_1) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarA0A0H3JUG6MF_0208940, 1, (STRLEN(?templateMotifCigarA0A0H3JUG6MF_0208940) - STRLEN(REPLACE(?templateMotifCigarA0A0H3JUG6MF_0208940, CONCAT('^(?:-*[^-]){', STR(((43 - ?templateMotifSequenceMatchBeginPositionA0A0H3JUG641) + 1)), '}'), '')))), '[a-z]', '')) AS ?step152) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208942) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step152), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208942) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step152), '}'), '')))), '[^-]', ''))) AS ?step253) .
    BIND(((?step253 + ?targetMotifMatchRegionMatchBeginPositionMF_0208943) - 1) AS ?thisPositionOn14) .
    BIND(?thisPositionOn14 AS ?thisPositionOn15) .
    BIND(?this AS ?pfs1t54) .
    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) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarA0A0H3JUG6MF_0208940, 1, (STRLEN(?templateMotifCigarA0A0H3JUG6MF_0208940) - STRLEN(REPLACE(?templateMotifCigarA0A0H3JUG6MF_0208940, CONCAT('^(?:-*[^-]){', STR(((44 - ?templateMotifSequenceMatchBeginPositionA0A0H3JUG641) + 1)), '}'), '')))), '[a-z]', '')) AS ?step155) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208942) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step155), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208942) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step155), '}'), '')))), '[^-]', ''))) AS ?step256) .
    BIND(((?step256 + ?targetMotifMatchRegionMatchBeginPositionMF_0208943) - 1) AS ?thisPositionOn20) .
    BIND(?thisPositionOn20 AS ?thisPositionOn21) .
    BIND(?this AS ?pfs1t57) .
    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) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarA0A0H3JUG6MF_0208940, 1, (STRLEN(?templateMotifCigarA0A0H3JUG6MF_0208940) - STRLEN(REPLACE(?templateMotifCigarA0A0H3JUG6MF_0208940, CONCAT('^(?:-*[^-]){', STR(((129 - ?templateMotifSequenceMatchBeginPositionA0A0H3JUG641) + 1)), '}'), '')))), '[a-z]', '')) AS ?step158) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208942) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step158), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208942) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step158), '}'), '')))), '[^-]', ''))) AS ?step259) .
    BIND(((?step259 + ?targetMotifMatchRegionMatchBeginPositionMF_0208943) - 1) AS ?thisPositionOn26) .
    BIND(?thisPositionOn26 AS ?thisPositionOn27) .
    BIND(?this AS ?pfs1t60) .
    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) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarA0A0H3JUG6MF_0208940, 1, (STRLEN(?templateMotifCigarA0A0H3JUG6MF_0208940) - STRLEN(REPLACE(?templateMotifCigarA0A0H3JUG6MF_0208940, CONCAT('^(?:-*[^-]){', STR(((132 - ?templateMotifSequenceMatchBeginPositionA0A0H3JUG641) + 1)), '}'), '')))), '[a-z]', '')) AS ?step161) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208942) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step161), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208942) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208942, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step161), '}'), '')))), '[^-]', ''))) AS ?step262) .
    BIND(((?step262 + ?targetMotifMatchRegionMatchBeginPositionMF_0208943) - 1) AS ?thisPositionOn32) .
    BIND(?thisPositionOn32 AS ?thisPositionOn33) .
    BIND(?this AS ?pfs1t63) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn32))) AS ?pfsb29) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn33))) AS ?pfse30) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn32, 1) = 'C')) .
    BIND(?this AS ?pfs9) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch68 faldo:location ?templateMotifSequenceMatchRegionA0A0H3JUG669 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationA0A0H3JUG671 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarA0A0H3JUG6MF_0208964 .
    ?templateMotifSequenceMatchRegionA0A0H3JUG669 faldo:begin ?templateMotifSequenceMatchBeginA0A0H3JUG670 .
    ?templateMotifSequenceMatchBeginA0A0H3JUG670 faldo:position ?templateMotifSequenceMatchBeginPositionA0A0H3JUG665 ;
      faldo:reference isoform:A0A0H3JUG6-1 .
    ?templateMotifSequenceProfileAlignmentOperationA0A0H3JUG671 edam:has_input signature:MF_02089 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch72 faldo:location ?targetMotifMatchRegionMatch73 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0208975 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarA0A0H3JUG6MF_0208966 .
    ?targetMotifMatchRegionMatch73 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0208974 .
    ?targetMotifMatchRegionMatchBeginMF_0208974 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0208967 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0208975 edam:has_input signature:MF_02089 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarA0A0H3JUG6MF_0208964, 1, (STRLEN(?templateMotifCigarA0A0H3JUG6MF_0208964) - STRLEN(REPLACE(?templateMotifCigarA0A0H3JUG6MF_0208964, CONCAT('^(?:-*[^-]){', STR(((211 - ?templateMotifSequenceMatchBeginPositionA0A0H3JUG665) + 1)), '}'), '')))), '[a-z]', '')) AS ?step176) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208966, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208966) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208966, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step176), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208966, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208966) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208966, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step176), '}'), '')))), '[^-]', ''))) AS ?step277) .
    BIND(((?step277 + ?targetMotifMatchRegionMatchBeginPositionMF_0208967) - 1) AS ?thisPositionOn38) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarA0A0H3JUG6MF_0208964, 1, (STRLEN(?templateMotifCigarA0A0H3JUG6MF_0208964) - STRLEN(REPLACE(?templateMotifCigarA0A0H3JUG6MF_0208964, CONCAT('^(?:-*[^-]){', STR(((213 - ?templateMotifSequenceMatchBeginPositionA0A0H3JUG665) + 1)), '}'), '')))), '[a-z]', '')) AS ?step178) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208966, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208966) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208966, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step178), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarA0A0H3JUG6MF_0208966, 1, (STRLEN(?targetMotifMatchCigarA0A0H3JUG6MF_0208966) - STRLEN(REPLACE(?targetMotifMatchCigarA0A0H3JUG6MF_0208966, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step178), '}'), '')))), '[^-]', ''))) AS ?step279) .
    BIND(((?step279 + ?targetMotifMatchRegionMatchBeginPositionMF_0208967) - 1) AS ?thisPositionOn39) .
    BIND(?this AS ?pfs2t80) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn38))) AS ?pfsb36) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn39))) AS ?pfse37) .
    FILTER (REGEX('C[ARNDCQEGHILKMFPSTWYVBZJUOX]*C', SUBSTR(?thisSequenceValue, ?thisPositionOn38, (?thisPositionOn39 - ?thisPositionOn38)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02089a35')) AS ?annotation35) .
    BIND(?this AS ?pfs34) .
  }
  OPTIONAL {
    ?this a up:Protein .
    BIND(?this AS ?caseWithTag81) .
  }
  BIND(IF(BOUND(?tagFTGRP_1), ?caseWithTag81, ?UNBOUND_VARIABLE) AS ?case8) .
}
""" .

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