@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_02085#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_02085#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-18>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-16>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-12>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-3>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-17>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-55>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-42>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-49>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-48>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-24>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-38>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-65>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-60>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-28>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-45>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-39>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-54>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-53>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-34>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-1>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-33>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-23>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-57>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-47>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-41>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-78>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-11>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-59>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-10>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-77>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-67>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-52>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-30>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-9>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-22>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-0>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-4>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-44>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-63>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-2>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-62>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-73>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-27>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-6>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-75>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-43>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-25>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-66>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-70>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-68>,
    <http://purl.uniprot.org/unirules/MF_02085#construct-template-72>, <http://purl.uniprot.org/unirules/MF_02085#construct-template-74>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02085#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02085#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:739633 up:source unirule:MF_02085 .
  _:739634 up:source unirule:MF_02085 .
  _:739635 up:source unirule:MF_02085 .
  _:739636 up:source unirule:MF_02085 .
  _:739637 up:source unirule:MF_02085 .
  _:739638 up:source unirule:MF_02085 .
  _:739639 up:source unirule:MF_02085 .
  _:739640 up:source unirule:MF_02085 .
  _:739641 up:source unirule:MF_02085 .
  _:739642 up:source unirule:MF_02085 .
  _:739643 up:source unirule:MF_02085 .
  _:739644 up:source unirule:MF_02085 .
  _:739645 up:source unirule:MF_02085 .
  _:739646 up:source unirule:MF_02085 .
  _:739647 up:source unirule:MF_02085 .
  _:739648 up:source unirule:MF_02085 .
  _:739649 up:source unirule:MF_02085 .
  ?this up:alternativeName ?name1 ,
      ?name2 ;
    up:annotation ?annotation4 ,
      ?annotation5 ,
      ?annotation7 ,
      ?annotation8 ;
    up:classifiedWith GO:0000287 ,
      GO:0002134 ,
      GO:0003983 ,
      GO:0006011 ,
      keyword:460 ,
      keyword:479 ,
      keyword:548 ,
      keyword:808 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '2.7.7.9' ;
    up:fullName 'UTP--glucose-1-phosphate uridylyltransferase' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'Cyanobacterial UDP-glucose pyrophosphorylase' ;
    rdf:type up:Structured_Name .
  ?name2 up:fullName 'UDP-glucose pyrophosphorylase' ;
    up:shortName 'UDP-Glc PPase' ;
    rdf:type up:Structured_Name .
  ?gene3 skos:prefLabel 'cugP' .
  ?annotation4 a up:Function_Annotation ;
    rdfs:comment 'Catalyzes the formation of UDP-glucose, from UTP and glucose 1-phosphate.' .
  ?annotation5 up:activity ?activity6 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity6 up:catalyticActivity <http://rdf.rhea-db.org/19889>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/2.7.7.9>.
  ?annotation7 up:cofactor chebi:18420 ;
    rdf:type up:Cofactor_Annotation .
  ?annotation8 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the CugP-type UDP-glucose pyrophosphorylase family.' .
  ?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:18420 .
  _:739650 a rdf:Statement ;
    up:attribution _:739633 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:739651 a rdf:Statement ;
    up:attribution _:739634 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:739652 a rdf:Statement ;
    up:attribution _:739635 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name2 .
  _:739653 a rdf:Statement ;
    up:attribution _:739636 ;
    rdf:subject ?gene3 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene3 .
  _:739654 a rdf:Statement ;
    up:attribution _:739637 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:739655 a rdf:Statement ;
    up:attribution _:739638 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:739656 a rdf:Statement ;
    up:attribution _:739639 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation7 .
  _:739657 a rdf:Statement ;
    up:attribution _:739640 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:739658 a rdf:Statement ;
    up:attribution _:739641 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:460 .
  _:739659 a rdf:Statement ;
    up:attribution _:739642 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:479 .
  _:739660 a rdf:Statement ;
    up:attribution _:739643 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:548 .
  _:739661 a rdf:Statement ;
    up:attribution _:739644 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:808 .
  _:739662 a rdf:Statement ;
    up:attribution _:739645 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0003983 .
  _:739663 a rdf:Statement ;
    up:attribution _:739646 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0002134 .
  _:739664 a rdf:Statement ;
    up:attribution _:739647 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0000287 .
  _:739665 a rdf:Statement ;
    up:attribution _:739648 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0006011 .
  _:739666 a rdf:Statement ;
    up:source unirule:MF_02085 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:739667 a rdf:Statement ;
    up:attribution _:739649 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02085
  #Rule MF_02085 Created by:? on:2017-01-06 Modified by:Catherine Rivoire on:2024-11-05
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02085 .
  ?thisOrganism rdfs:subClassOf+ taxon:1117 .
  BIND(URI(CONCAT(STR(?this), '#MF_02085a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02085a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02085a2')) AS ?name2) .
  BIND(URI(CONCAT(STR(?this), '#MF_02085a4')) AS ?annotation4) .
  BIND(URI(CONCAT(STR(?this), '#MF_02085a5')) AS ?annotation5) .
  BIND(URI(CONCAT(STR(?this), '#MF_02085a7')) AS ?annotation7) .
  BIND(URI(CONCAT(STR(?this), '#MF_02085a8')) AS ?annotation8) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch20 faldo:location ?templateMotifSequenceMatchRegionP7428521 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP7428523 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP74285MF_0208516 .
    ?templateMotifSequenceMatchRegionP7428521 faldo:begin ?templateMotifSequenceMatchBeginP7428522 .
    ?templateMotifSequenceMatchBeginP7428522 faldo:position ?templateMotifSequenceMatchBeginPositionP7428517 ;
      faldo:reference isoform:P74285-1 .
    ?templateMotifSequenceProfileAlignmentOperationP7428523 edam:has_input signature:MF_02085 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch24 faldo:location ?targetMotifMatchRegionMatch25 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0208527 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP74285MF_0208518 .
    ?targetMotifMatchRegionMatch25 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0208526 .
    ?targetMotifMatchRegionMatchBeginMF_0208526 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0208519 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0208527 edam:has_input signature:MF_02085 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP74285MF_0208516, 1, (STRLEN(?templateMotifCigarP74285MF_0208516) - STRLEN(REPLACE(?templateMotifCigarP74285MF_0208516, CONCAT('^(?:-*[^-]){', STR(((118 - ?templateMotifSequenceMatchBeginPositionP7428517) + 1)), '}'), '')))), '[a-z]', '')) AS ?step128) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP74285MF_0208518, 1, (STRLEN(?targetMotifMatchCigarP74285MF_0208518) - STRLEN(REPLACE(?targetMotifMatchCigarP74285MF_0208518, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step128), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP74285MF_0208518, 1, (STRLEN(?targetMotifMatchCigarP74285MF_0208518) - STRLEN(REPLACE(?targetMotifMatchCigarP74285MF_0208518, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step128), '}'), '')))), '[^-]', ''))) AS ?step229) .
    BIND(((?step229 + ?targetMotifMatchRegionMatchBeginPositionMF_0208519) - 1) AS ?thisPositionOn14) .
    BIND(?thisPositionOn14 AS ?thisPositionOn15) .
    BIND(?this AS ?pfs1t30) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn14))) AS ?pfsb11) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn15))) AS ?pfse12) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn14, 1) = 'D')) .
    BIND(URI(CONCAT(STR(?this), '#MF_02085a10')) AS ?annotation10) .
    BIND(?this AS ?pfs9) .
  }
}
""" .

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