@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_02126#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_02126#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-34>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-33>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-12>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-11>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-59>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-54>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-78>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-53>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-77>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-32>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-31>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-79>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-17>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-14>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-13>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-16>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-39>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-74>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-52>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-51>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-75>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-70>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-72>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-71>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-46>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-45>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-24>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-23>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-42>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-66>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-41>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-20>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-68>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-67>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-7>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-4>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-26>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-49>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-28>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-27>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-80>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-2>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-1>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-62>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-40>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-63>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-60>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-85>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-99>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-86>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-111>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-110>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-112>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-104>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-94>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-81>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-115>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-92>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-95>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-93>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-90>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-84>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-88>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-82>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-106>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-87>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-97>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-96>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-119>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-89>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-117>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-91>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-83>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-121>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-108>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-101>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-109>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-107>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-114>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-98>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-103>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-102>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-116>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-120>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-122>,
    <http://purl.uniprot.org/unirules/MF_02126#construct-template-118>, <http://purl.uniprot.org/unirules/MF_02126#construct-template-113>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02126#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02126#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:755350 up:source unirule:MF_02126 .
  _:755351 up:source unirule:MF_02126 .
  _:755352 up:source unirule:MF_02126 .
  _:755353 up:source unirule:MF_02126 .
  _:755354 up:source unirule:MF_02126 .
  _:755355 up:source unirule:MF_02126 .
  _:755356 up:source unirule:MF_02126 .
  _:755357 up:source unirule:MF_02126 .
  _:755358 up:source unirule:MF_02126 .
  _:755359 up:source unirule:MF_02126 .
  _:755360 up:source unirule:MF_02126 .
  _:755361 up:source unirule:MF_02126 .
  _:755362 up:source unirule:MF_02126 .
  _:755363 up:source unirule:MF_02126 .
  _:755364 up:source unirule:MF_02126 .
  _:755365 up:source unirule:MF_02126 .
  _:755366 up:source unirule:MF_02126 .
  _:755367 up:source unirule:MF_02126 .
  ?this up:alternativeName ?name1 ,
      ?name2 ,
      ?name3 ;
    up:annotation ?annotation5 ,
      ?annotation6 ,
      ?annotation8 ;
    up:classifiedWith GO:0018364 ,
      GO:0036009 ,
      keyword:489 ,
      keyword:808 ,
      keyword:949 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '2.1.1.297' ;
    up:fullName 'Release factor glutamine methyltransferase' ;
    up:shortName 'RF MTase' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'N5-glutamine methyltransferase PrmC' ;
    rdf:type up:Structured_Name .
  ?name2 up:fullName 'Protein-(glutamine-N5) MTase PrmC' ;
    rdf:type up:Structured_Name .
  ?name3 up:fullName 'Protein-glutamine N-methyltransferase PrmC' ;
    rdf:type up:Structured_Name .
  ?gene4 skos:prefLabel 'prmC' .
  ?annotation5 a up:Function_Annotation ;
    rdfs:comment 'Methylates the class 1 translation termination release factors RF1/PrfA and RF2/PrfB on the glutamine residue of the universally conserved GGQ motif.' .
  ?annotation6 up:activity ?activity7 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity7 up:catalyticActivity <http://rdf.rhea-db.org/42896>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/2.1.1.297>.
  ?annotation8 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the protein N5-glutamine methyltransferase family. PrmC subfamily.' .
  ?pfs9 up:annotation ?annotation10 .
  ?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:59789 .
  ?pfs16 up:annotation ?annotation17 .
  ?annotation17 faldo:begin ?pfsb18 ;
    faldo:end ?pfse19 ;
    up:ligand ?ligand20 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb18 faldo:position ?thisPositionOn22 ;
    rdf:type faldo:ExactPosition .
  ?pfse19 faldo:position ?thisPositionOn23 ;
    rdf:type faldo:ExactPosition .
  ?ligand20 rdfs:subClassOf ?molecule21 .
  ?molecule21 rdfs:label 'substrate' .
  ?pfs24 up:annotation ?annotation25 .
  ?annotation25 faldo:begin ?pfsb26 ;
    faldo:end ?pfse27 ;
    up:ligand ?ligand28 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb26 faldo:position ?thisPositionOn29 ;
    rdf:type faldo:ExactPosition .
  ?pfse27 faldo:position ?thisPositionOn30 ;
    rdf:type faldo:ExactPosition .
  ?ligand28 rdfs:subClassOf chebi:59789 .
  ?pfs31 up:annotation ?annotation32 .
  ?annotation32 faldo:begin ?pfsb33 ;
    faldo:end ?pfse34 ;
    up:ligand ?ligand35 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb33 faldo:position ?thisPositionOn36 ;
    rdf:type faldo:ExactPosition .
  ?pfse34 faldo:position ?thisPositionOn37 ;
    rdf:type faldo:ExactPosition .
  ?ligand35 rdfs:subClassOf chebi:59789 .
  ?pfs38 up:annotation ?annotation39 .
  ?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:59789 .
  _:755368 a rdf:Statement ;
    up:attribution _:755350 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:755369 a rdf:Statement ;
    up:attribution _:755351 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:755370 a rdf:Statement ;
    up:attribution _:755352 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name2 .
  _:755371 a rdf:Statement ;
    up:attribution _:755353 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name3 .
  _:755372 a rdf:Statement ;
    up:attribution _:755354 ;
    rdf:subject ?gene4 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene4 .
  _:755373 a rdf:Statement ;
    up:attribution _:755355 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:755374 a rdf:Statement ;
    up:attribution _:755356 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:755375 a rdf:Statement ;
    up:attribution _:755357 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:755376 a rdf:Statement ;
    up:attribution _:755358 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:489 .
  _:755377 a rdf:Statement ;
    up:attribution _:755359 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:949 .
  _:755378 a rdf:Statement ;
    up:attribution _:755360 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:808 .
  _:755379 a rdf:Statement ;
    up:attribution _:755361 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0036009 .
  _:755380 a rdf:Statement ;
    up:attribution _:755362 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0018364 .
  _:755381 a rdf:Statement ;
    up:source unirule:MF_02126 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:755382 a rdf:Statement ;
    up:attribution _:755363 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:755383 a rdf:Statement ;
    up:source unirule:MF_02126 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation17 .
  _:755384 a rdf:Statement ;
    up:attribution _:755364 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation17 .
  _:755385 a rdf:Statement ;
    up:source unirule:MF_02126 ;
    rdf:subject ?pfs24 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation25 .
  _:755386 a rdf:Statement ;
    up:attribution _:755365 ;
    rdf:subject ?pfs24 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation25 .
  _:755387 a rdf:Statement ;
    up:source unirule:MF_02126 ;
    rdf:subject ?pfs31 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation32 .
  _:755388 a rdf:Statement ;
    up:attribution _:755366 ;
    rdf:subject ?pfs31 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation32 .
  _:755389 a rdf:Statement ;
    up:source unirule:MF_02126 ;
    rdf:subject ?pfs38 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation39 .
  _:755390 a rdf:Statement ;
    up:attribution _:755367 ;
    rdf:subject ?pfs38 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation39 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02126
  #Rule MF_02126 Created by:? on:2011-10-28 Modified by:Edouard de Castro on:2024-09-02
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02126 .
  ?thisOrganism rdfs:subClassOf+ taxon:2 .
  BIND(URI(CONCAT(STR(?this), '#MF_02126a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02126a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02126a2')) AS ?name2) .
  BIND(URI(CONCAT(STR(?this), '#MF_02126a3')) AS ?name3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02126a5')) AS ?annotation5) .
  BIND(URI(CONCAT(STR(?this), '#MF_02126a6')) AS ?annotation6) .
  BIND(URI(CONCAT(STR(?this), '#MF_02126a8')) AS ?annotation8) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch49 faldo:location ?templateMotifSequenceMatchRegionP0ACC150 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0ACC152 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP0ACC1MF_0212645 .
    ?templateMotifSequenceMatchRegionP0ACC150 faldo:begin ?templateMotifSequenceMatchBeginP0ACC151 .
    ?templateMotifSequenceMatchBeginP0ACC151 faldo:position ?templateMotifSequenceMatchBeginPositionP0ACC146 ;
      faldo:reference isoform:P0ACC1-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0ACC152 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch53 faldo:location ?targetMotifMatchRegionMatch54 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0212656 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP0ACC1MF_0212647 .
    ?targetMotifMatchRegionMatch54 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0212655 .
    ?targetMotifMatchRegionMatchBeginMF_0212655 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0212648 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0212656 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0ACC1MF_0212645, 1, (STRLEN(?templateMotifCigarP0ACC1MF_0212645) - STRLEN(REPLACE(?templateMotifCigarP0ACC1MF_0212645, CONCAT('^(?:-*[^-]){', STR(((117 - ?templateMotifSequenceMatchBeginPositionP0ACC146) + 1)), '}'), '')))), '[a-z]', '')) AS ?step157) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212647, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212647) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212647, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step157), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212647, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212647) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212647, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step157), '}'), '')))), '[^-]', ''))) AS ?step258) .
    BIND(((?step258 + ?targetMotifMatchRegionMatchBeginPositionMF_0212648) - 1) AS ?thisPositionOn14) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0ACC1MF_0212645, 1, (STRLEN(?templateMotifCigarP0ACC1MF_0212645) - STRLEN(REPLACE(?templateMotifCigarP0ACC1MF_0212645, CONCAT('^(?:-*[^-]){', STR(((121 - ?templateMotifSequenceMatchBeginPositionP0ACC146) + 1)), '}'), '')))), '[a-z]', '')) AS ?step159) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212647, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212647) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212647, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step159), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212647, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212647) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212647, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step159), '}'), '')))), '[^-]', ''))) AS ?step260) .
    BIND(((?step260 + ?targetMotifMatchRegionMatchBeginPositionMF_0212648) - 1) AS ?thisPositionOn15) .
    BIND(?this AS ?pfs1t61) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn14))) AS ?pfsb11) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn15))) AS ?pfse12) .
    FILTER (REGEX('G[ARNDCQEGHILKMFPSTWYVBZJUOX]G[ARNDCQEGHILKMFPSTWYVBZJUOX]G', SUBSTR(?thisSequenceValue, ?thisPositionOn14, (?thisPositionOn15 - ?thisPositionOn14)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02126a10')) AS ?annotation10) .
    BIND(?this AS ?pfs9) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch66 faldo:location ?templateMotifSequenceMatchRegionP0ACC167 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0ACC169 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP0ACC1MF_0212662 .
    ?templateMotifSequenceMatchRegionP0ACC167 faldo:begin ?templateMotifSequenceMatchBeginP0ACC168 .
    ?templateMotifSequenceMatchBeginP0ACC168 faldo:position ?templateMotifSequenceMatchBeginPositionP0ACC163 ;
      faldo:reference isoform:P0ACC1-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0ACC169 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch70 faldo:location ?targetMotifMatchRegionMatch71 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0212673 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP0ACC1MF_0212664 .
    ?targetMotifMatchRegionMatch71 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0212672 .
    ?targetMotifMatchRegionMatchBeginMF_0212672 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0212665 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0212673 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0ACC1MF_0212662, 1, (STRLEN(?templateMotifCigarP0ACC1MF_0212662) - STRLEN(REPLACE(?templateMotifCigarP0ACC1MF_0212662, CONCAT('^(?:-*[^-]){', STR(((183 - ?templateMotifSequenceMatchBeginPositionP0ACC163) + 1)), '}'), '')))), '[a-z]', '')) AS ?step174) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212664, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212664) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212664, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step174), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212664, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212664) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212664, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step174), '}'), '')))), '[^-]', ''))) AS ?step275) .
    BIND(((?step275 + ?targetMotifMatchRegionMatchBeginPositionMF_0212665) - 1) AS ?thisPositionOn22) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0ACC1MF_0212662, 1, (STRLEN(?templateMotifCigarP0ACC1MF_0212662) - STRLEN(REPLACE(?templateMotifCigarP0ACC1MF_0212662, CONCAT('^(?:-*[^-]){', STR(((186 - ?templateMotifSequenceMatchBeginPositionP0ACC163) + 1)), '}'), '')))), '[a-z]', '')) AS ?step176) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212664, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212664) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212664, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step176), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212664, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212664) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212664, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step176), '}'), '')))), '[^-]', ''))) AS ?step277) .
    BIND(((?step277 + ?targetMotifMatchRegionMatchBeginPositionMF_0212665) - 1) AS ?thisPositionOn23) .
    BIND(?this AS ?pfs1t78) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn22))) AS ?pfsb18) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn23))) AS ?pfse19) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn22, (?thisPositionOn23 - ?thisPositionOn22)) = 'NPPY')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02126a17')) AS ?annotation17) .
    BIND(?this AS ?pfs16) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch83 faldo:location ?templateMotifSequenceMatchRegionP0ACC184 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0ACC186 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP0ACC1MF_0212679 .
    ?templateMotifSequenceMatchRegionP0ACC184 faldo:begin ?templateMotifSequenceMatchBeginP0ACC185 .
    ?templateMotifSequenceMatchBeginP0ACC185 faldo:position ?templateMotifSequenceMatchBeginPositionP0ACC180 ;
      faldo:reference isoform:P0ACC1-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0ACC186 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch87 faldo:location ?targetMotifMatchRegionMatch88 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0212690 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP0ACC1MF_0212681 .
    ?targetMotifMatchRegionMatch88 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0212689 .
    ?targetMotifMatchRegionMatchBeginMF_0212689 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0212682 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0212690 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0ACC1MF_0212679, 1, (STRLEN(?templateMotifCigarP0ACC1MF_0212679) - STRLEN(REPLACE(?templateMotifCigarP0ACC1MF_0212679, CONCAT('^(?:-*[^-]){', STR(((140 - ?templateMotifSequenceMatchBeginPositionP0ACC180) + 1)), '}'), '')))), '[a-z]', '')) AS ?step191) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212681, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212681) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212681, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step191), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212681, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212681) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212681, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step191), '}'), '')))), '[^-]', ''))) AS ?step292) .
    BIND(((?step292 + ?targetMotifMatchRegionMatchBeginPositionMF_0212682) - 1) AS ?thisPositionOn29) .
    BIND(?thisPositionOn29 AS ?thisPositionOn30) .
    BIND(?this AS ?pfs1t93) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn29))) AS ?pfsb26) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn30))) AS ?pfse27) .
    FILTER (REGEX('[DE]', SUBSTR(?thisSequenceValue, ?thisPositionOn29, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02126a25')) AS ?annotation25) .
    BIND(?this AS ?pfs24) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch98 faldo:location ?templateMotifSequenceMatchRegionP0ACC199 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0ACC1101 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP0ACC1MF_0212694 .
    ?templateMotifSequenceMatchRegionP0ACC199 faldo:begin ?templateMotifSequenceMatchBeginP0ACC1100 .
    ?templateMotifSequenceMatchBeginP0ACC1100 faldo:position ?templateMotifSequenceMatchBeginPositionP0ACC195 ;
      faldo:reference isoform:P0ACC1-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0ACC1101 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch102 faldo:location ?targetMotifMatchRegionMatch103 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_02126105 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP0ACC1MF_0212696 .
    ?targetMotifMatchRegionMatch103 faldo:begin ?targetMotifMatchRegionMatchBeginMF_02126104 .
    ?targetMotifMatchRegionMatchBeginMF_02126104 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0212697 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_02126105 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0ACC1MF_0212694, 1, (STRLEN(?templateMotifCigarP0ACC1MF_0212694) - STRLEN(REPLACE(?templateMotifCigarP0ACC1MF_0212694, CONCAT('^(?:-*[^-]){', STR(((168 - ?templateMotifSequenceMatchBeginPositionP0ACC195) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1106) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212696, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212696) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212696, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1106), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0ACC1MF_0212696, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_0212696) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_0212696, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1106), '}'), '')))), '[^-]', ''))) AS ?step2107) .
    BIND(((?step2107 + ?targetMotifMatchRegionMatchBeginPositionMF_0212697) - 1) AS ?thisPositionOn36) .
    BIND(?thisPositionOn36 AS ?thisPositionOn37) .
    BIND(?this AS ?pfs1t108) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn36))) AS ?pfsb33) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn37))) AS ?pfse34) .
    FILTER (REGEX('[WF]', SUBSTR(?thisSequenceValue, ?thisPositionOn36, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02126a32')) AS ?annotation32) .
    BIND(?this AS ?pfs31) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch113 faldo:location ?templateMotifSequenceMatchRegionP0ACC1114 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0ACC1116 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP0ACC1MF_02126109 .
    ?templateMotifSequenceMatchRegionP0ACC1114 faldo:begin ?templateMotifSequenceMatchBeginP0ACC1115 .
    ?templateMotifSequenceMatchBeginP0ACC1115 faldo:position ?templateMotifSequenceMatchBeginPositionP0ACC1110 ;
      faldo:reference isoform:P0ACC1-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0ACC1116 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch117 faldo:location ?targetMotifMatchRegionMatch118 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_02126120 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP0ACC1MF_02126111 .
    ?targetMotifMatchRegionMatch118 faldo:begin ?targetMotifMatchRegionMatchBeginMF_02126119 .
    ?targetMotifMatchRegionMatchBeginMF_02126119 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_02126112 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_02126120 edam:has_input signature:MF_02126 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0ACC1MF_02126109, 1, (STRLEN(?templateMotifCigarP0ACC1MF_02126109) - STRLEN(REPLACE(?templateMotifCigarP0ACC1MF_02126109, CONCAT('^(?:-*[^-]){', STR(((183 - ?templateMotifSequenceMatchBeginPositionP0ACC1110) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1121) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0ACC1MF_02126111, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_02126111) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_02126111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1121), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0ACC1MF_02126111, 1, (STRLEN(?targetMotifMatchCigarP0ACC1MF_02126111) - STRLEN(REPLACE(?targetMotifMatchCigarP0ACC1MF_02126111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1121), '}'), '')))), '[^-]', ''))) AS ?step2122) .
    BIND(((?step2122 + ?targetMotifMatchRegionMatchBeginPositionMF_02126112) - 1) AS ?thisPositionOn43) .
    BIND(?thisPositionOn43 AS ?thisPositionOn44) .
    BIND(?this AS ?pfs1t123) .
    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) = 'N')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02126a39')) AS ?annotation39) .
    BIND(?this AS ?pfs38) .
  }
}
""" .

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