@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_02224#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_02224#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-56>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-79>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-55>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-78>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-54>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-53>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-77>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-106>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-36>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-12>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-59>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-35>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-10>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-34>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-33>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-16>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-39>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-38>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-13>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-18>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-17>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-2>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-0>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-92>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-91>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-90>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-102>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-96>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-72>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-103>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-9>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-95>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-8>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-70>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-94>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-7>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-93>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-6>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-52>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-76>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-75>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-99>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-100>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-74>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-50>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-3>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-97>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-68>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-20>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-67>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-43>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-42>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-66>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-41>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-89>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-48>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-47>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-22>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-69>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-45>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-27>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-49>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-29>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-80>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-60>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-84>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-83>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-82>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-81>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-40>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-88>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-63>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-87>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-86>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-62>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-85>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-114>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-108>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-109>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-116>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-120>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-117>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-121>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-110>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-119>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-112>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-113>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-118>, <http://purl.uniprot.org/unirules/MF_02224#construct-template-115>,
    <http://purl.uniprot.org/unirules/MF_02224#construct-template-111>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02224#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02224#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:767688 up:source unirule:MF_02224 .
  _:767689 up:source unirule:MF_02224 .
  _:767690 up:source unirule:MF_02224 .
  _:767691 up:source unirule:MF_02224 .
  _:767692 up:source unirule:MF_02224 .
  _:767693 up:source unirule:MF_02224 .
  _:767694 up:source unirule:MF_02224 .
  _:767695 up:source unirule:MF_02224 .
  _:767696 up:source unirule:MF_02224 .
  _:767697 up:source unirule:MF_02224 .
  _:767698 up:source unirule:MF_02224 .
  _:767699 up:source unirule:MF_02224 .
  _:767700 up:source unirule:MF_02224 .
  _:767701 up:source unirule:MF_02224 .
  _:767702 up:source unirule:MF_02224 .
  _:767703 up:source unirule:MF_02224 .
  _:767704 up:source unirule:MF_02224 .
  _:767705 up:source unirule:MF_02224 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation5 ,
      ?annotation6 ,
      ?annotation7 ;
    up:classifiedWith GO:0015937 ,
      GO:0016881 ,
      keyword:173 ,
      keyword:436 ,
      keyword:547 ,
      keyword:67 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '6.3.2.36' ;
    up:fullName '4-phosphopantoate--beta-alanine ligase' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'Phosphopantothenate synthetase' ;
    up:shortName 'PPS' ;
    rdf:type up:Structured_Name .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment \"Catalyzes the condensation of (R)-4-phosphopantoate and beta-alanine to 4'-phosphopantothenate in the CoA biosynthesis pathway.\" .
  ?annotation3 up:activity ?activity4 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity4 up:catalyticActivity <http://rdf.rhea-db.org/27930>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/6.3.2.36>.
  ?annotation5 a up:Pathway_Annotation ;
    rdfs:comment 'Cofactor biosynthesis; coenzyme A biosynthesis.' .
  ?annotation6 a up:Subunit_Annotation ;
    rdfs:comment 'Homodimer.' .
  ?annotation7 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the archaeal phosphopantothenate synthetase family.' .
  ?pfs8 up:annotation ?annotation9 .
  ?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:30616 .
  ?pfs15 up:annotation ?annotation16 .
  ?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:30616 .
  ?pfs22 up:annotation ?annotation23 .
  ?annotation23 faldo:begin ?pfsb24 ;
    faldo:end ?pfse25 ;
    up:ligand ?ligand26 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb24 faldo:position ?thisPositionOn27 ;
    rdf:type faldo:ExactPosition .
  ?pfse25 faldo:position ?thisPositionOn28 ;
    rdf:type faldo:ExactPosition .
  ?ligand26 rdfs:subClassOf chebi:30616 .
  ?pfs29 up:annotation ?annotation30 .
  ?annotation30 faldo:begin ?pfsb31 ;
    faldo:end ?pfse32 ;
    up:ligand ?ligand33 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb31 faldo:position ?thisPositionOn34 ;
    rdf:type faldo:ExactPosition .
  ?pfse32 faldo:position ?thisPositionOn35 ;
    rdf:type faldo:ExactPosition .
  ?ligand33 rdfs:subClassOf chebi:30616 .
  ?pfs36 up:annotation ?annotation37 .
  ?annotation37 faldo:begin ?pfsb38 ;
    faldo:end ?pfse39 ;
    up:ligand ?ligand40 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb38 faldo:position ?thisPositionOn41 ;
    rdf:type faldo:ExactPosition .
  ?pfse39 faldo:position ?thisPositionOn42 ;
    rdf:type faldo:ExactPosition .
  ?ligand40 rdfs:subClassOf chebi:30616 .
  _:767706 a rdf:Statement ;
    up:attribution _:767688 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:767707 a rdf:Statement ;
    up:attribution _:767689 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:767708 a rdf:Statement ;
    up:attribution _:767690 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:767709 a rdf:Statement ;
    up:attribution _:767691 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:767710 a rdf:Statement ;
    up:attribution _:767692 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:767711 a rdf:Statement ;
    up:attribution _:767693 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:767712 a rdf:Statement ;
    up:attribution _:767694 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation7 .
  _:767713 a rdf:Statement ;
    up:attribution _:767695 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:67 .
  _:767714 a rdf:Statement ;
    up:attribution _:767696 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:173 .
  _:767715 a rdf:Statement ;
    up:attribution _:767697 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:436 .
  _:767716 a rdf:Statement ;
    up:attribution _:767698 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:547 .
  _:767717 a rdf:Statement ;
    up:attribution _:767699 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0016881 .
  _:767718 a rdf:Statement ;
    up:attribution _:767700 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0015937 .
  _:767719 a rdf:Statement ;
    up:source unirule:MF_02224 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation9 .
  _:767720 a rdf:Statement ;
    up:attribution _:767701 ;
    rdf:subject ?pfs8 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation9 .
  _:767721 a rdf:Statement ;
    up:source unirule:MF_02224 ;
    rdf:subject ?pfs15 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation16 .
  _:767722 a rdf:Statement ;
    up:attribution _:767702 ;
    rdf:subject ?pfs15 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation16 .
  _:767723 a rdf:Statement ;
    up:source unirule:MF_02224 ;
    rdf:subject ?pfs22 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation23 .
  _:767724 a rdf:Statement ;
    up:attribution _:767703 ;
    rdf:subject ?pfs22 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation23 .
  _:767725 a rdf:Statement ;
    up:source unirule:MF_02224 ;
    rdf:subject ?pfs29 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation30 .
  _:767726 a rdf:Statement ;
    up:attribution _:767704 ;
    rdf:subject ?pfs29 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation30 .
  _:767727 a rdf:Statement ;
    up:source unirule:MF_02224 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation37 .
  _:767728 a rdf:Statement ;
    up:attribution _:767705 ;
    rdf:subject ?pfs36 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation37 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02224
  #Rule MF_02224 Created by:? on:2019-08-20 Modified by:Edouard de Castro on:2024-09-02
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02224 .
  ?thisOrganism rdfs:subClassOf+ taxon:2157 .
  BIND(URI(CONCAT(STR(?this), '#MF_02224a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02224a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02224a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_02224a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02224a5')) AS ?annotation5) .
  BIND(URI(CONCAT(STR(?this), '#MF_02224a6')) AS ?annotation6) .
  BIND(URI(CONCAT(STR(?this), '#MF_02224a7')) AS ?annotation7) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch47 faldo:location ?templateMotifSequenceMatchRegionQ5JIZ848 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5JIZ850 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5JIZ8MF_0222443 .
    ?templateMotifSequenceMatchRegionQ5JIZ848 faldo:begin ?templateMotifSequenceMatchBeginQ5JIZ849 .
    ?templateMotifSequenceMatchBeginQ5JIZ849 faldo:position ?templateMotifSequenceMatchBeginPositionQ5JIZ844 ;
      faldo:reference isoform:Q5JIZ8-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5JIZ850 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch51 faldo:location ?targetMotifMatchRegionMatch52 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0222454 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5JIZ8MF_0222445 .
    ?targetMotifMatchRegionMatch52 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0222453 .
    ?targetMotifMatchRegionMatchBeginMF_0222453 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0222446 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0222454 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5JIZ8MF_0222443, 1, (STRLEN(?templateMotifCigarQ5JIZ8MF_0222443) - STRLEN(REPLACE(?templateMotifCigarQ5JIZ8MF_0222443, CONCAT('^(?:-*[^-]){', STR(((181 - ?templateMotifSequenceMatchBeginPositionQ5JIZ844) + 1)), '}'), '')))), '[a-z]', '')) AS ?step155) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222445, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222445) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222445, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step155), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222445, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222445) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222445, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step155), '}'), '')))), '[^-]', ''))) AS ?step256) .
    BIND(((?step256 + ?targetMotifMatchRegionMatchBeginPositionMF_0222446) - 1) AS ?thisPositionOn13) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5JIZ8MF_0222443, 1, (STRLEN(?templateMotifCigarQ5JIZ8MF_0222443) - STRLEN(REPLACE(?templateMotifCigarQ5JIZ8MF_0222443, CONCAT('^(?:-*[^-]){', STR(((183 - ?templateMotifSequenceMatchBeginPositionQ5JIZ844) + 1)), '}'), '')))), '[a-z]', '')) AS ?step157) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222445, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222445) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222445, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step157), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222445, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222445) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222445, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step157), '}'), '')))), '[^-]', ''))) AS ?step258) .
    BIND(((?step258 + ?targetMotifMatchRegionMatchBeginPositionMF_0222446) - 1) AS ?thisPositionOn14) .
    BIND(?this AS ?pfs1t59) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn13))) AS ?pfsb10) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn14))) AS ?pfse11) .
    FILTER (REGEX('D[LI]N', SUBSTR(?thisSequenceValue, ?thisPositionOn13, (?thisPositionOn14 - ?thisPositionOn13)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02224a9')) AS ?annotation9) .
    BIND(?this AS ?pfs8) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch64 faldo:location ?templateMotifSequenceMatchRegionQ5JIZ865 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5JIZ867 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5JIZ8MF_0222460 .
    ?templateMotifSequenceMatchRegionQ5JIZ865 faldo:begin ?templateMotifSequenceMatchBeginQ5JIZ866 .
    ?templateMotifSequenceMatchBeginQ5JIZ866 faldo:position ?templateMotifSequenceMatchBeginPositionQ5JIZ861 ;
      faldo:reference isoform:Q5JIZ8-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5JIZ867 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch68 faldo:location ?targetMotifMatchRegionMatch69 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0222471 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5JIZ8MF_0222462 .
    ?targetMotifMatchRegionMatch69 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0222470 .
    ?targetMotifMatchRegionMatchBeginMF_0222470 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0222463 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0222471 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5JIZ8MF_0222460, 1, (STRLEN(?templateMotifCigarQ5JIZ8MF_0222460) - STRLEN(REPLACE(?templateMotifCigarQ5JIZ8MF_0222460, CONCAT('^(?:-*[^-]){', STR(((187 - ?templateMotifSequenceMatchBeginPositionQ5JIZ861) + 1)), '}'), '')))), '[a-z]', '')) AS ?step172) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222462, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222462) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222462, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step172), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222462, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222462) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222462, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step172), '}'), '')))), '[^-]', ''))) AS ?step273) .
    BIND(((?step273 + ?targetMotifMatchRegionMatchBeginPositionMF_0222463) - 1) AS ?thisPositionOn20) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5JIZ8MF_0222460, 1, (STRLEN(?templateMotifCigarQ5JIZ8MF_0222460) - STRLEN(REPLACE(?templateMotifCigarQ5JIZ8MF_0222460, CONCAT('^(?:-*[^-]){', STR(((188 - ?templateMotifSequenceMatchBeginPositionQ5JIZ861) + 1)), '}'), '')))), '[a-z]', '')) AS ?step174) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222462, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222462) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222462, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step174), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222462, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222462) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222462, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step174), '}'), '')))), '[^-]', ''))) AS ?step275) .
    BIND(((?step275 + ?targetMotifMatchRegionMatchBeginPositionMF_0222463) - 1) AS ?thisPositionOn21) .
    BIND(?this AS ?pfs1t76) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn20))) AS ?pfsb17) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn21))) AS ?pfse18) .
    FILTER (REGEX('R[ST]', SUBSTR(?thisSequenceValue, ?thisPositionOn20, (?thisPositionOn21 - ?thisPositionOn20)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02224a16')) AS ?annotation16) .
    BIND(?this AS ?pfs15) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch81 faldo:location ?templateMotifSequenceMatchRegionQ5JIZ882 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5JIZ884 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5JIZ8MF_0222477 .
    ?templateMotifSequenceMatchRegionQ5JIZ882 faldo:begin ?templateMotifSequenceMatchBeginQ5JIZ883 .
    ?templateMotifSequenceMatchBeginQ5JIZ883 faldo:position ?templateMotifSequenceMatchBeginPositionQ5JIZ878 ;
      faldo:reference isoform:Q5JIZ8-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5JIZ884 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch85 faldo:location ?targetMotifMatchRegionMatch86 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0222488 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5JIZ8MF_0222479 .
    ?targetMotifMatchRegionMatch86 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0222487 .
    ?targetMotifMatchRegionMatchBeginMF_0222487 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0222480 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0222488 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5JIZ8MF_0222477, 1, (STRLEN(?templateMotifCigarQ5JIZ8MF_0222477) - STRLEN(REPLACE(?templateMotifCigarQ5JIZ8MF_0222477, CONCAT('^(?:-*[^-]){', STR(((199 - ?templateMotifSequenceMatchBeginPositionQ5JIZ878) + 1)), '}'), '')))), '[a-z]', '')) AS ?step189) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222479, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222479) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222479, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step189), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222479, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222479) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222479, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step189), '}'), '')))), '[^-]', ''))) AS ?step290) .
    BIND(((?step290 + ?targetMotifMatchRegionMatchBeginPositionMF_0222480) - 1) AS ?thisPositionOn27) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5JIZ8MF_0222477, 1, (STRLEN(?templateMotifCigarQ5JIZ8MF_0222477) - STRLEN(REPLACE(?templateMotifCigarQ5JIZ8MF_0222477, CONCAT('^(?:-*[^-]){', STR(((200 - ?templateMotifSequenceMatchBeginPositionQ5JIZ878) + 1)), '}'), '')))), '[a-z]', '')) AS ?step191) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222479, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222479) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222479, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step191), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222479, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222479) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222479, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step191), '}'), '')))), '[^-]', ''))) AS ?step292) .
    BIND(((?step292 + ?targetMotifMatchRegionMatchBeginPositionMF_0222480) - 1) AS ?thisPositionOn28) .
    BIND(?this AS ?pfs1t93) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn27))) AS ?pfsb24) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn28))) AS ?pfse25) .
    FILTER (REGEX('N[ILV]', SUBSTR(?thisSequenceValue, ?thisPositionOn27, (?thisPositionOn28 - ?thisPositionOn27)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_02224a23')) AS ?annotation23) .
    BIND(?this AS ?pfs22) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch98 faldo:location ?templateMotifSequenceMatchRegionQ5JIZ899 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5JIZ8101 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5JIZ8MF_0222494 .
    ?templateMotifSequenceMatchRegionQ5JIZ899 faldo:begin ?templateMotifSequenceMatchBeginQ5JIZ8100 .
    ?templateMotifSequenceMatchBeginQ5JIZ8100 faldo:position ?templateMotifSequenceMatchBeginPositionQ5JIZ895 ;
      faldo:reference isoform:Q5JIZ8-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5JIZ8101 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch102 faldo:location ?targetMotifMatchRegionMatch103 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_02224105 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5JIZ8MF_0222496 .
    ?targetMotifMatchRegionMatch103 faldo:begin ?targetMotifMatchRegionMatchBeginMF_02224104 .
    ?targetMotifMatchRegionMatchBeginMF_02224104 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0222497 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_02224105 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5JIZ8MF_0222494, 1, (STRLEN(?templateMotifCigarQ5JIZ8MF_0222494) - STRLEN(REPLACE(?templateMotifCigarQ5JIZ8MF_0222494, CONCAT('^(?:-*[^-]){', STR(((17 - ?templateMotifSequenceMatchBeginPositionQ5JIZ895) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1106) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222496, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222496) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222496, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1106), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_0222496, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_0222496) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_0222496, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1106), '}'), '')))), '[^-]', ''))) AS ?step2107) .
    BIND(((?step2107 + ?targetMotifMatchRegionMatchBeginPositionMF_0222497) - 1) AS ?thisPositionOn34) .
    BIND(?thisPositionOn34 AS ?thisPositionOn35) .
    BIND(?this AS ?pfs1t108) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn34))) AS ?pfsb31) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn35))) AS ?pfse32) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn34, 1) = 'R')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02224a30')) AS ?annotation30) .
    BIND(?this AS ?pfs29) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch113 faldo:location ?templateMotifSequenceMatchRegionQ5JIZ8114 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ5JIZ8116 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ5JIZ8MF_02224109 .
    ?templateMotifSequenceMatchRegionQ5JIZ8114 faldo:begin ?templateMotifSequenceMatchBeginQ5JIZ8115 .
    ?templateMotifSequenceMatchBeginQ5JIZ8115 faldo:position ?templateMotifSequenceMatchBeginPositionQ5JIZ8110 ;
      faldo:reference isoform:Q5JIZ8-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ5JIZ8116 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch117 faldo:location ?targetMotifMatchRegionMatch118 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_02224120 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ5JIZ8MF_02224111 .
    ?targetMotifMatchRegionMatch118 faldo:begin ?targetMotifMatchRegionMatchBeginMF_02224119 .
    ?targetMotifMatchRegionMatchBeginMF_02224119 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_02224112 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_02224120 edam:has_input signature:MF_02224 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ5JIZ8MF_02224109, 1, (STRLEN(?templateMotifCigarQ5JIZ8MF_02224109) - STRLEN(REPLACE(?templateMotifCigarQ5JIZ8MF_02224109, CONCAT('^(?:-*[^-]){', STR(((39 - ?templateMotifSequenceMatchBeginPositionQ5JIZ8110) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1121) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_02224111, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_02224111) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_02224111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1121), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ5JIZ8MF_02224111, 1, (STRLEN(?targetMotifMatchCigarQ5JIZ8MF_02224111) - STRLEN(REPLACE(?targetMotifMatchCigarQ5JIZ8MF_02224111, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1121), '}'), '')))), '[^-]', ''))) AS ?step2122) .
    BIND(((?step2122 + ?targetMotifMatchRegionMatchBeginPositionMF_02224112) - 1) AS ?thisPositionOn41) .
    BIND(?thisPositionOn41 AS ?thisPositionOn42) .
    BIND(?this AS ?pfs1t123) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn41))) AS ?pfsb38) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn42))) AS ?pfse39) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn41, 1) = 'R')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02224a37')) AS ?annotation37) .
    BIND(?this AS ?pfs36) .
  }
}
""" .

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