@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_03142#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_03142#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-47>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-52>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-2>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-89>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-50>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-35>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-64>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-46>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-12>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-66>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-43>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-45>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-41>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-59>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-11>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-87>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-86>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-62>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-53>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-88>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-63>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-21>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-20>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-42>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-18>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-14>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-141>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-26>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-67>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-0>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-33>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-140>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-68>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-10>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-123>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-24>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-80>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-122>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-81>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-121>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-4>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-120>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-55>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-29>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-103>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-127>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-60>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-84>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-102>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-126>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-85>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-125>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-82>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-124>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-83>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-23>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-106>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-34>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-129>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-128>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-6>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-109>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-54>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-108>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-39>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-49>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-25>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-13>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-17>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-77>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-78>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-99>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-74>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-75>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-130>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-79>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-135>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-111>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-92>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-110>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-134>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-93>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-133>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-90>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-132>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-91>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-131>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-139>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-115>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-96>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-72>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-114>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-138>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-98>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-97>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-73>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-113>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-137>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-70>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-94>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-136>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-112>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-95>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-119>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-118>, <http://purl.uniprot.org/unirules/MF_03142#construct-template-117>,
    <http://purl.uniprot.org/unirules/MF_03142#construct-template-116>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_03142#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_03142#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:839405 up:source unirule:MF_03142 .
  _:839406 up:source unirule:MF_03142 .
  _:839407 up:source unirule:MF_03142 .
  _:839408 up:source unirule:MF_03142 .
  _:839409 up:source unirule:MF_03142 .
  _:839410 up:source unirule:MF_03142 .
  _:839411 up:source unirule:MF_03142 .
  _:839412 up:source unirule:MF_03142 .
  _:839413 up:source unirule:MF_03142 .
  _:839414 up:source unirule:MF_03142 .
  _:839415 up:source unirule:MF_03142 .
  _:839416 up:source unirule:MF_03142 .
  _:839417 up:source unirule:MF_03142 .
  _:839418 up:source unirule:MF_03142 .
  _:839419 up:source unirule:MF_03142 .
  _:839420 up:source unirule:MF_03142 .
  _:839421 up:source unirule:MF_03142 .
  _:839422 up:source unirule:MF_03142 .
  _:839423 up:source unirule:MF_03142 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation5 ,
      ?annotation6 ;
    up:classifiedWith GO:0046294 ,
      GO:0051907 ,
      keyword:456 ,
      keyword:479 ,
      keyword:862 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '4.4.1.22' ;
    up:fullName 'Putative glutathione-dependent formaldehyde-activating enzyme' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'S-(hydroxymethyl)glutathione synthase' ;
    rdf:type up:Structured_Name .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment 'Catalyzes the condensation of formaldehyde and glutathione to S-hydroxymethylglutathione.' .
  ?annotation3 up:activity ?activity4 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity4 up:catalyticActivity <http://rdf.rhea-db.org/22488>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/4.4.1.22>.
  ?annotation5 a up:Pathway_Annotation ;
    rdfs:comment 'One-carbon metabolism; formaldehyde degradation; formate from formaldehyde (glutathione route): step 1/3.' .
  ?annotation6 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the Gfa family.' .
  ?case7 up:classifiedWith GO:0008270 .
  ?pfs8 up:annotation ?annotation9 ,
      ?annotation15 ,
      ?annotation21 ,
      ?annotation27 ,
      ?annotation33 ,
      ?annotation39 ,
      ?annotation45 .
  ?annotation9 faldo:begin ?pfsb10 ;
    faldo:end ?pfse11 ;
    up:ligand ?ligand12 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb10 faldo:position ?thisPositionOn13 ;
    rdf:type faldo:ExactPosition .
  ?pfse11 faldo:position ?thisPositionOn14 ;
    rdf:type faldo:ExactPosition .
  ?ligand12 rdfs:subClassOf chebi:29105 .
  ?annotation15 faldo:begin ?pfsb16 ;
    faldo:end ?pfse17 ;
    up:ligand ?ligand18 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb16 faldo:position ?thisPositionOn19 ;
    rdf:type faldo:ExactPosition .
  ?pfse17 faldo:position ?thisPositionOn20 ;
    rdf:type faldo:ExactPosition .
  ?ligand18 rdfs:subClassOf chebi:29105 .
  ?annotation21 faldo:begin ?pfsb22 ;
    faldo:end ?pfse23 ;
    up:ligand ?ligand24 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb22 faldo:position ?thisPositionOn25 ;
    rdf:type faldo:ExactPosition .
  ?pfse23 faldo:position ?thisPositionOn26 ;
    rdf:type faldo:ExactPosition .
  ?ligand24 rdfs:subClassOf chebi:29105 .
  ?annotation27 faldo:begin ?pfsb28 ;
    faldo:end ?pfse29 ;
    up:ligand ?ligand30 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb28 faldo:position ?thisPositionOn31 ;
    rdf:type faldo:ExactPosition .
  ?pfse29 faldo:position ?thisPositionOn32 ;
    rdf:type faldo:ExactPosition .
  ?ligand30 rdfs:subClassOf chebi:29105 .
  ?annotation33 faldo:begin ?pfsb34 ;
    faldo:end ?pfse35 ;
    up:ligand ?ligand36 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb34 faldo:position ?thisPositionOn37 ;
    rdf:type faldo:ExactPosition .
  ?pfse35 faldo:position ?thisPositionOn38 ;
    rdf:type faldo:ExactPosition .
  ?ligand36 rdfs:subClassOf chebi:29105 .
  ?annotation39 faldo:begin ?pfsb40 ;
    faldo:end ?pfse41 ;
    up:ligand ?ligand42 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb40 faldo:position ?thisPositionOn43 ;
    rdf:type faldo:ExactPosition .
  ?pfse41 faldo:position ?thisPositionOn44 ;
    rdf:type faldo:ExactPosition .
  ?ligand42 rdfs:subClassOf chebi:29105 .
  ?annotation45 faldo:begin ?pfsb46 ;
    faldo:end ?pfse47 ;
    up:ligand ?ligand48 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb46 faldo:position ?thisPositionOn49 ;
    rdf:type faldo:ExactPosition .
  ?pfse47 faldo:position ?thisPositionOn50 ;
    rdf:type faldo:ExactPosition .
  ?ligand48 rdfs:subClassOf chebi:29105 .
  _:839424 a rdf:Statement ;
    up:attribution _:839405 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:839425 a rdf:Statement ;
    up:attribution _:839406 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:839426 a rdf:Statement ;
    up:attribution _:839407 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:839427 a rdf:Statement ;
    up:attribution _:839408 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:839428 a rdf:Statement ;
    up:attribution _:839409 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:839429 a rdf:Statement ;
    up:attribution _:839410 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:839430 a rdf:Statement ;
    up:attribution _:839411 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:456 .
  _:839431 a rdf:Statement ;
    up:attribution _:839412 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:479 .
  _:839432 a rdf:Statement ;
    up:attribution _:839413 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:862 .
  _:839433 a rdf:Statement ;
    up:attribution _:839414 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0051907 .
  _:839434 a rdf:Statement ;
    up:attribution _:839415 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0046294 .
  _:839435 a rdf:Statement ;
    up:attribution _:839416 ;
    rdf:subject ?case7 ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0008270 .
  _:839436 a rdf:Statement ;
    up:source unirule:MF_03142 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation9 .
  _:839437 a rdf:Statement ;
    up:attribution _:839417 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation9 .
  _:839438 a rdf:Statement ;
    up:source unirule:MF_03142 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation15 .
  _:839439 a rdf:Statement ;
    up:attribution _:839418 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation15 .
  _:839440 a rdf:Statement ;
    up:source unirule:MF_03142 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation21 .
  _:839441 a rdf:Statement ;
    up:attribution _:839419 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation21 .
  _:839442 a rdf:Statement ;
    up:source unirule:MF_03142 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation27 .
  _:839443 a rdf:Statement ;
    up:attribution _:839420 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation27 .
  _:839444 a rdf:Statement ;
    up:source unirule:MF_03142 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation33 .
  _:839445 a rdf:Statement ;
    up:attribution _:839421 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation33 .
  _:839446 a rdf:Statement ;
    up:source unirule:MF_03142 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation39 .
  _:839447 a rdf:Statement ;
    up:attribution _:839422 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation39 .
  _:839448 a rdf:Statement ;
    up:source unirule:MF_03142 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation45 .
  _:839449 a rdf:Statement ;
    up:attribution _:839423 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation45 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_03142
  #Rule MF_03142 Created by:? on:2012-08-22 Modified by:Edouard de Castro on:2024-09-03
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_00723 .
  ?thisOrganism rdfs:subClassOf+ taxon:147538 .
  BIND(URI(CONCAT(STR(?this), '#MF_03142a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_03142a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_03142a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_03142a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_03142a5')) AS ?annotation5) .
  BIND(URI(CONCAT(STR(?this), '#MF_03142a6')) AS ?annotation6) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch55 faldo:location ?templateMotifSequenceMatchRegionC8VDQ356 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationC8VDQ358 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarC8VDQ3MF_0072351 .
    ?templateMotifSequenceMatchRegionC8VDQ356 faldo:begin ?templateMotifSequenceMatchBeginC8VDQ357 .
    ?templateMotifSequenceMatchBeginC8VDQ357 faldo:position ?templateMotifSequenceMatchBeginPositionC8VDQ352 ;
      faldo:reference isoform:C8VDQ3-1 .
    ?templateMotifSequenceProfileAlignmentOperationC8VDQ358 edam:has_input signature:MF_00723 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch59 faldo:location ?targetMotifMatchRegionMatch60 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0072362 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarC8VDQ3MF_0072353 .
    ?targetMotifMatchRegionMatch60 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0072361 .
    ?targetMotifMatchRegionMatchBeginMF_0072361 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0072354 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0072362 edam:has_input signature:MF_00723 ;
      rdf:type edam:operation_0300 .
    BIND(?this AS ?tagFTGRP_1) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarC8VDQ3MF_0072351, 1, (STRLEN(?templateMotifCigarC8VDQ3MF_0072351) - STRLEN(REPLACE(?templateMotifCigarC8VDQ3MF_0072351, CONCAT('^(?:-*[^-]){', STR(((29 - ?templateMotifSequenceMatchBeginPositionC8VDQ352) + 1)), '}'), '')))), '[a-z]', '')) AS ?step163) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step163), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step163), '}'), '')))), '[^-]', ''))) AS ?step264) .
    BIND(((?step264 + ?targetMotifMatchRegionMatchBeginPositionMF_0072354) - 1) AS ?thisPositionOn13) .
    BIND(?thisPositionOn13 AS ?thisPositionOn14) .
    BIND(?this AS ?pfs1t65) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn13))) AS ?pfsb10) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn14))) AS ?pfse11) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn13, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarC8VDQ3MF_0072351, 1, (STRLEN(?templateMotifCigarC8VDQ3MF_0072351) - STRLEN(REPLACE(?templateMotifCigarC8VDQ3MF_0072351, CONCAT('^(?:-*[^-]){', STR(((31 - ?templateMotifSequenceMatchBeginPositionC8VDQ352) + 1)), '}'), '')))), '[a-z]', '')) AS ?step166) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step166), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step166), '}'), '')))), '[^-]', ''))) AS ?step267) .
    BIND(((?step267 + ?targetMotifMatchRegionMatchBeginPositionMF_0072354) - 1) AS ?thisPositionOn19) .
    BIND(?thisPositionOn19 AS ?thisPositionOn20) .
    BIND(?this AS ?pfs1t68) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn19))) AS ?pfsb16) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn20))) AS ?pfse17) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn19, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarC8VDQ3MF_0072351, 1, (STRLEN(?templateMotifCigarC8VDQ3MF_0072351) - STRLEN(REPLACE(?templateMotifCigarC8VDQ3MF_0072351, CONCAT('^(?:-*[^-]){', STR(((50 - ?templateMotifSequenceMatchBeginPositionC8VDQ352) + 1)), '}'), '')))), '[a-z]', '')) AS ?step169) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), '')))), '[^-]', ''))) AS ?step270) .
    BIND(((?step270 + ?targetMotifMatchRegionMatchBeginPositionMF_0072354) - 1) AS ?thisPositionOn25) .
    BIND(?thisPositionOn25 AS ?thisPositionOn26) .
    BIND(?this AS ?pfs1t71) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn25))) AS ?pfsb22) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn26))) AS ?pfse23) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn25, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarC8VDQ3MF_0072351, 1, (STRLEN(?templateMotifCigarC8VDQ3MF_0072351) - STRLEN(REPLACE(?templateMotifCigarC8VDQ3MF_0072351, CONCAT('^(?:-*[^-]){', STR(((52 - ?templateMotifSequenceMatchBeginPositionC8VDQ352) + 1)), '}'), '')))), '[a-z]', '')) AS ?step172) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step172), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step172), '}'), '')))), '[^-]', ''))) AS ?step273) .
    BIND(((?step273 + ?targetMotifMatchRegionMatchBeginPositionMF_0072354) - 1) AS ?thisPositionOn31) .
    BIND(?thisPositionOn31 AS ?thisPositionOn32) .
    BIND(?this AS ?pfs1t74) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn31))) AS ?pfsb28) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn32))) AS ?pfse29) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn31, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarC8VDQ3MF_0072351, 1, (STRLEN(?templateMotifCigarC8VDQ3MF_0072351) - STRLEN(REPLACE(?templateMotifCigarC8VDQ3MF_0072351, CONCAT('^(?:-*[^-]){', STR(((55 - ?templateMotifSequenceMatchBeginPositionC8VDQ352) + 1)), '}'), '')))), '[a-z]', '')) AS ?step175) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step175), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step175), '}'), '')))), '[^-]', ''))) AS ?step276) .
    BIND(((?step276 + ?targetMotifMatchRegionMatchBeginPositionMF_0072354) - 1) AS ?thisPositionOn37) .
    BIND(?thisPositionOn37 AS ?thisPositionOn38) .
    BIND(?this AS ?pfs1t77) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn37))) AS ?pfsb34) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn38))) AS ?pfse35) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn37, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarC8VDQ3MF_0072351, 1, (STRLEN(?templateMotifCigarC8VDQ3MF_0072351) - STRLEN(REPLACE(?templateMotifCigarC8VDQ3MF_0072351, CONCAT('^(?:-*[^-]){', STR(((97 - ?templateMotifSequenceMatchBeginPositionC8VDQ352) + 1)), '}'), '')))), '[a-z]', '')) AS ?step178) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step178), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step178), '}'), '')))), '[^-]', ''))) AS ?step279) .
    BIND(((?step279 + ?targetMotifMatchRegionMatchBeginPositionMF_0072354) - 1) AS ?thisPositionOn43) .
    BIND(?thisPositionOn43 AS ?thisPositionOn44) .
    BIND(?this AS ?pfs1t80) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn43))) AS ?pfsb40) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn44))) AS ?pfse41) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn43, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarC8VDQ3MF_0072351, 1, (STRLEN(?templateMotifCigarC8VDQ3MF_0072351) - STRLEN(REPLACE(?templateMotifCigarC8VDQ3MF_0072351, CONCAT('^(?:-*[^-]){', STR(((100 - ?templateMotifSequenceMatchBeginPositionC8VDQ352) + 1)), '}'), '')))), '[a-z]', '')) AS ?step181) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step181), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarC8VDQ3MF_0072353, 1, (STRLEN(?targetMotifMatchCigarC8VDQ3MF_0072353) - STRLEN(REPLACE(?targetMotifMatchCigarC8VDQ3MF_0072353, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step181), '}'), '')))), '[^-]', ''))) AS ?step282) .
    BIND(((?step282 + ?targetMotifMatchRegionMatchBeginPositionMF_0072354) - 1) AS ?thisPositionOn49) .
    BIND(?thisPositionOn49 AS ?thisPositionOn50) .
    BIND(?this AS ?pfs1t83) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn49))) AS ?pfsb46) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn50))) AS ?pfse47) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn49, 1) = 'C')) .
    BIND(?this AS ?pfs8) .
  }
  OPTIONAL {
    ?this a up:Protein .
    BIND(?this AS ?caseWithTag84) .
  }
  BIND(IF(BOUND(?tagFTGRP_1), ?caseWithTag84, ?UNBOUND_VARIABLE) AS ?case7) .
}
""" .

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