@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_02232#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_02232#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-20>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-106>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-68>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-7>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-4>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-67>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-108>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-11>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-6>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-69>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-45>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-9>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-88>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-1>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-40>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-87>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-63>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-109>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-3>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-66>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-42>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-41>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-89>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-27>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-48>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-47>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-26>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-49>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-25>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-96>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-72>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-122>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-121>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-95>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-120>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-74>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-124>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-97>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-123>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-92>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-126>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-102>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-91>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-125>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-101>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-90>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-94>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-70>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-104>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-93>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-127>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-103>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-32>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-118>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-56>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-31>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-117>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-79>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-34>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-33>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-119>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-76>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-52>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-99>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-75>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-51>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-54>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-30>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-78>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-77>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-53>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-16>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-15>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-17>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-12>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-59>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-35>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-14>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-13>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-84>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-60>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-83>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-86>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-62>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-112>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-85>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-111>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-110>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-114>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-113>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-82>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-116>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-81>, <http://purl.uniprot.org/unirules/MF_02232#construct-template-115>,
    <http://purl.uniprot.org/unirules/MF_02232#construct-template-80>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02232#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02232#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:771188 up:source unirule:MF_02232 .
  _:771189 up:source unirule:MF_02232 .
  _:771190 up:source unirule:MF_02232 .
  _:771191 up:source unirule:MF_02232 .
  _:771192 up:source unirule:MF_02232 .
  _:771193 up:source unirule:MF_02232 .
  _:771194 up:source unirule:MF_02232 .
  _:771195 up:source unirule:MF_02232 .
  _:771196 up:source unirule:MF_02232 .
  _:771197 up:source unirule:MF_02232 .
  _:771198 up:source unirule:MF_02232 .
  _:771199 up:source unirule:MF_02232 .
  _:771200 up:source unirule:MF_02232 .
  _:771201 up:source unirule:MF_02232 .
  _:771202 up:source unirule:MF_02232 .
  _:771203 up:source unirule:MF_02232 .
  _:771204 up:source unirule:MF_02232 .
  _:771205 up:source unirule:MF_02232 .
  _:771206 up:source unirule:MF_02232 .
  _:771207 up:source unirule:MF_02232 .
  _:771208 up:source unirule:MF_02232 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation3 ,
      ?annotation4 ,
      ?annotation6 ,
      ?annotation8 ,
      ?annotation10 ,
      ?annotation11 ,
      ?annotation12 ;
    up:classifiedWith GO:0006744 ,
      keyword:831 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '1.97.1.15' ;
    up:fullName 'Ubiquinone biosynthesis hydroxylase UbiU' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName '2-(all-trans-polyprenyl)phenol 6-hydroxylase subunit UbiU' ;
    rdf:type up:Structured_Name .
  ?gene2 skos:prefLabel 'ubiU' .
  ?annotation3 a up:Function_Annotation ;
    rdfs:comment 'Component of the UbiUV hydroxylase, which is involved in the oxygen-independent ubiquinone (coenzyme Q) biosynthesis. It catalyzes the three hydroxylation steps, using prephenate as the oxygen donor.' .
  ?annotation4 up:activity ?activity5 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity5 up:catalyticActivity <http://rdf.rhea-db.org/81671>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/1.97.1.15>.
  ?annotation6 up:activity ?activity7 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity7 up:catalyticActivity <http://rdf.rhea-db.org/81679>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/1.97.1.15>.
  ?annotation8 up:activity ?activity9 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity9 up:catalyticActivity <http://rdf.rhea-db.org/81687>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/1.97.1.15>.
  ?annotation10 a up:Pathway_Annotation ;
    rdfs:comment 'Cofactor biosynthesis; ubiquinone biosynthesis.' .
  ?annotation11 a up:Subunit_Annotation ;
    rdfs:comment 'Forms a heterodimer with UbiV.' .
  ?annotation12 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the peptidase U32 family. UbiU subfamily.' .
  ?case13 up:classifiedWith GO:0051539 ,
      keyword:408 ,
      keyword:411 ,
      keyword:479 ,
      keyword:4 .
  ?pfs14 up:annotation ?annotation15 ,
      ?annotation21 ,
      ?annotation27 ,
      ?annotation33 .
  ?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:49883 .
  ?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:49883 .
  ?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:49883 .
  ?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:49883 .
  _:771209 a rdf:Statement ;
    up:attribution _:771188 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:771210 a rdf:Statement ;
    up:attribution _:771189 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:771211 a rdf:Statement ;
    up:attribution _:771190 ;
    rdf:subject ?gene2 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene2 .
  _:771212 a rdf:Statement ;
    up:attribution _:771191 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:771213 a rdf:Statement ;
    up:attribution _:771192 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:771214 a rdf:Statement ;
    up:attribution _:771193 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:771215 a rdf:Statement ;
    up:attribution _:771194 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:771216 a rdf:Statement ;
    up:attribution _:771195 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:771217 a rdf:Statement ;
    up:attribution _:771196 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation11 .
  _:771218 a rdf:Statement ;
    up:attribution _:771197 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation12 .
  _:771219 a rdf:Statement ;
    up:attribution _:771198 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:831 .
  _:771220 a rdf:Statement ;
    up:attribution _:771199 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0006744 .
  _:771221 a rdf:Statement ;
    up:attribution _:771200 ;
    rdf:subject ?case13 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:4 .
  _:771222 a rdf:Statement ;
    up:attribution _:771201 ;
    rdf:subject ?case13 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:408 .
  _:771223 a rdf:Statement ;
    up:attribution _:771202 ;
    rdf:subject ?case13 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:411 .
  _:771224 a rdf:Statement ;
    up:attribution _:771203 ;
    rdf:subject ?case13 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:479 .
  _:771225 a rdf:Statement ;
    up:attribution _:771204 ;
    rdf:subject ?case13 ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0051539 .
  _:771226 a rdf:Statement ;
    up:source unirule:MF_02232 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation15 .
  _:771227 a rdf:Statement ;
    up:attribution _:771205 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation15 .
  _:771228 a rdf:Statement ;
    up:source unirule:MF_02232 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation21 .
  _:771229 a rdf:Statement ;
    up:attribution _:771206 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation21 .
  _:771230 a rdf:Statement ;
    up:source unirule:MF_02232 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation27 .
  _:771231 a rdf:Statement ;
    up:attribution _:771207 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation27 .
  _:771232 a rdf:Statement ;
    up:source unirule:MF_02232 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation33 .
  _:771233 a rdf:Statement ;
    up:attribution _:771208 ;
    rdf:subject ?pfs14 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation33 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02232
  #Rule MF_02232 Created by:? on:2019-10-01 Modified by:Catherine Rivoire on:2025-04-08
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02232 .
  ?thisOrganism rdfs:subClassOf+ taxon:1224 .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a4')) AS ?annotation4) .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a6')) AS ?annotation6) .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a8')) AS ?annotation8) .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a10')) AS ?annotation10) .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a11')) AS ?annotation11) .
  BIND(URI(CONCAT(STR(?this), '#MF_02232a12')) AS ?annotation12) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch43 faldo:location ?templateMotifSequenceMatchRegionP4552744 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP4552746 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP45527MF_0223239 .
    ?templateMotifSequenceMatchRegionP4552744 faldo:begin ?templateMotifSequenceMatchBeginP4552745 .
    ?templateMotifSequenceMatchBeginP4552745 faldo:position ?templateMotifSequenceMatchBeginPositionP4552740 ;
      faldo:reference isoform:P45527-1 .
    ?templateMotifSequenceProfileAlignmentOperationP4552746 edam:has_input signature:MF_02232 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch47 faldo:location ?targetMotifMatchRegionMatch48 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0223250 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP45527MF_0223241 .
    ?targetMotifMatchRegionMatch48 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0223249 .
    ?targetMotifMatchRegionMatchBeginMF_0223249 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0223242 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0223250 edam:has_input signature:MF_02232 ;
      rdf:type edam:operation_0300 .
    BIND(?this AS ?tagFTGRP_1) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP45527MF_0223239, 1, (STRLEN(?templateMotifCigarP45527MF_0223239) - STRLEN(REPLACE(?templateMotifCigarP45527MF_0223239, CONCAT('^(?:-*[^-]){', STR(((169 - ?templateMotifSequenceMatchBeginPositionP4552740) + 1)), '}'), '')))), '[a-z]', '')) AS ?step151) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP45527MF_0223241, 1, (STRLEN(?targetMotifMatchCigarP45527MF_0223241) - STRLEN(REPLACE(?targetMotifMatchCigarP45527MF_0223241, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step151), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP45527MF_0223241, 1, (STRLEN(?targetMotifMatchCigarP45527MF_0223241) - STRLEN(REPLACE(?targetMotifMatchCigarP45527MF_0223241, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step151), '}'), '')))), '[^-]', ''))) AS ?step252) .
    BIND(((?step252 + ?targetMotifMatchRegionMatchBeginPositionMF_0223242) - 1) AS ?thisPositionOn19) .
    BIND(?thisPositionOn19 AS ?thisPositionOn20) .
    BIND(?this AS ?pfs1t53) .
    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(?templateMotifCigarP45527MF_0223239, 1, (STRLEN(?templateMotifCigarP45527MF_0223239) - STRLEN(REPLACE(?templateMotifCigarP45527MF_0223239, CONCAT('^(?:-*[^-]){', STR(((176 - ?templateMotifSequenceMatchBeginPositionP4552740) + 1)), '}'), '')))), '[a-z]', '')) AS ?step154) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP45527MF_0223241, 1, (STRLEN(?targetMotifMatchCigarP45527MF_0223241) - STRLEN(REPLACE(?targetMotifMatchCigarP45527MF_0223241, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step154), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP45527MF_0223241, 1, (STRLEN(?targetMotifMatchCigarP45527MF_0223241) - STRLEN(REPLACE(?targetMotifMatchCigarP45527MF_0223241, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step154), '}'), '')))), '[^-]', ''))) AS ?step255) .
    BIND(((?step255 + ?targetMotifMatchRegionMatchBeginPositionMF_0223242) - 1) AS ?thisPositionOn25) .
    BIND(?thisPositionOn25 AS ?thisPositionOn26) .
    BIND(?this AS ?pfs1t56) .
    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(?templateMotifCigarP45527MF_0223239, 1, (STRLEN(?templateMotifCigarP45527MF_0223239) - STRLEN(REPLACE(?templateMotifCigarP45527MF_0223239, CONCAT('^(?:-*[^-]){', STR(((193 - ?templateMotifSequenceMatchBeginPositionP4552740) + 1)), '}'), '')))), '[a-z]', '')) AS ?step157) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP45527MF_0223241, 1, (STRLEN(?targetMotifMatchCigarP45527MF_0223241) - STRLEN(REPLACE(?targetMotifMatchCigarP45527MF_0223241, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step157), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP45527MF_0223241, 1, (STRLEN(?targetMotifMatchCigarP45527MF_0223241) - STRLEN(REPLACE(?targetMotifMatchCigarP45527MF_0223241, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step157), '}'), '')))), '[^-]', ''))) AS ?step258) .
    BIND(((?step258 + ?targetMotifMatchRegionMatchBeginPositionMF_0223242) - 1) AS ?thisPositionOn31) .
    BIND(?thisPositionOn31 AS ?thisPositionOn32) .
    BIND(?this AS ?pfs1t59) .
    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(?templateMotifCigarP45527MF_0223239, 1, (STRLEN(?templateMotifCigarP45527MF_0223239) - STRLEN(REPLACE(?templateMotifCigarP45527MF_0223239, CONCAT('^(?:-*[^-]){', STR(((232 - ?templateMotifSequenceMatchBeginPositionP4552740) + 1)), '}'), '')))), '[a-z]', '')) AS ?step160) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP45527MF_0223241, 1, (STRLEN(?targetMotifMatchCigarP45527MF_0223241) - STRLEN(REPLACE(?targetMotifMatchCigarP45527MF_0223241, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step160), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP45527MF_0223241, 1, (STRLEN(?targetMotifMatchCigarP45527MF_0223241) - STRLEN(REPLACE(?targetMotifMatchCigarP45527MF_0223241, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step160), '}'), '')))), '[^-]', ''))) AS ?step261) .
    BIND(((?step261 + ?targetMotifMatchRegionMatchBeginPositionMF_0223242) - 1) AS ?thisPositionOn37) .
    BIND(?thisPositionOn37 AS ?thisPositionOn38) .
    BIND(?this AS ?pfs1t62) .
    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(?this AS ?pfs14) .
  }
  OPTIONAL {
    ?this a up:Protein .
    BIND(?this AS ?caseWithTag63) .
  }
  BIND(IF(BOUND(?tagFTGRP_1), ?caseWithTag63, ?UNBOUND_VARIABLE) AS ?case13) .
}
""" .

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