@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_01723#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_01723#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-4>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-21>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-2>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-42>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-26>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-41>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-34>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-60>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-15>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-7>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-31>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-38>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-45>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-23>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-20>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-33>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-35>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-30>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-5>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-17>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-0>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-48>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-14>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-25>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-36>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-12>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-59>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-56>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-58>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-52>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-54>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-53>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_01723#construct-template-49>, <http://purl.uniprot.org/unirules/MF_01723#construct-template-47>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_01723#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_01723#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:629795 up:source unirule:MF_01723 .
  _:629796 up:source unirule:MF_01723 .
  _:629797 up:source unirule:MF_01723 .
  _:629798 up:source unirule:MF_01723 .
  _:629799 up:source unirule:MF_01723 .
  _:629800 up:source unirule:MF_01723 .
  _:629801 up:source unirule:MF_01723 .
  _:629802 up:source unirule:MF_01723 .
  _:629803 up:source unirule:MF_01723 .
  _:629804 up:source unirule:MF_01723 .
  _:629805 up:source unirule:MF_01723 .
  _:629806 up:source unirule:MF_01723 .
  _:629807 up:source unirule:MF_01723 .
  _:629808 up:source unirule:MF_01723 .
  _:629809 up:source unirule:MF_01723 .
  _:629810 up:source unirule:MF_01723 .
  ?this up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation5 ,
      ?annotation6 ;
    up:classifiedWith GO:0005886 ,
      GO:0015888 ,
      GO:0048502 ,
      keyword:1003 ,
      keyword:1278 ,
      keyword:472 ,
      keyword:547 ,
      keyword:67 ,
      keyword:813 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '7.6.2.15' ;
    up:fullName 'Thiamine import ATP-binding protein ThiQ' ;
    rdf:type up:Structured_Name .
  ?gene1 skos:prefLabel 'thiQ' .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment 'Part of the ABC transporter complex ThiBPQ involved in thiamine import. Responsible for energy coupling to the transport system.' .
  ?annotation3 up:activity ?activity4 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity4 up:catalyticActivity <http://rdf.rhea-db.org/29811>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/7.6.2.15>.
  ?annotation5 a up:Subunit_Annotation ;
    rdfs:comment 'The complex is composed of two ATP-binding proteins (ThiQ), two transmembrane proteins (ThiP) and a solute-binding protein (ThiB).' .
  ?annotation6 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the ABC transporter superfamily. Thiamine importer (TC 3.A.1.19.1) family.' .
  ?case7 up:classifiedWith keyword:997 .
  _:629811 a rdf:Statement ;
    up:attribution _:629795 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:629812 a rdf:Statement ;
    up:attribution _:629796 ;
    rdf:subject ?gene1 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene1 .
  _:629813 a rdf:Statement ;
    up:attribution _:629797 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:629814 a rdf:Statement ;
    up:attribution _:629798 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:629815 a rdf:Statement ;
    up:attribution _:629799 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:629816 a rdf:Statement ;
    up:attribution _:629800 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:629817 a rdf:Statement ;
    up:attribution _:629801 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0015888 .
  _:629818 a rdf:Statement ;
    up:attribution _:629802 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0048502 .
  _:629819 a rdf:Statement ;
    up:attribution _:629803 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0005886 .
  _:629820 a rdf:Statement ;
    up:attribution _:629804 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:67 .
  _:629821 a rdf:Statement ;
    up:attribution _:629805 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1003 .
  _:629822 a rdf:Statement ;
    up:attribution _:629806 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:472 .
  _:629823 a rdf:Statement ;
    up:attribution _:629807 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:547 .
  _:629824 a rdf:Statement ;
    up:attribution _:629808 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:813 .
  _:629825 a rdf:Statement ;
    up:attribution _:629809 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1278 .
  _:629826 a rdf:Statement ;
    up:attribution _:629810 ;
    rdf:subject ?case7 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:997 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_01723
  #Rule MF_01723 Created by:? on:2007-03-26 Modified by:Edouard de Castro on:2024-09-02
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso prosite:PS51288 .
  ?thisOrganism rdfs:subClassOf+ taxon:1224 .
  BIND(URI(CONCAT(STR(?this), '#MF_01723a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_01723a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_01723a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_01723a5')) AS ?annotation5) .
  BIND(URI(CONCAT(STR(?this), '#MF_01723a6')) AS ?annotation6) .
  OPTIONAL {
    ?this a up:Protein .
    {
      ?this up:proteome <http://purl.uniprot.org/proteomes/Membrane#2>.
    } UNION {
      ?this up:proteome ?p9 .
      ?p9 skos:narrower <http://purl.uniprot.org/proteomes/Membrane#2>.
    }
    BIND(?this AS ?case7) .
  }
  OPTIONAL {
    ?this a up:Protein .
    {
      FILTER (! (EXISTS {
        {
          ?this up:proteome <http://purl.uniprot.org/proteomes/Membrane#any>.
        } UNION {
          ?this up:proteome ?p10 .
          ?p10 skos:narrower <http://purl.uniprot.org/proteomes/Membrane#any>.
        }
      })) .
    } UNION {
      {
        ?this up:proteome <http://purl.uniprot.org/proteomes/Membrane#1>.
      } UNION {
        ?this up:proteome ?p11 .
        ?p11 skos:narrower <http://purl.uniprot.org/proteomes/Membrane#1>.
      }
    }
    BIND(?this AS ?case8) .
  }
}
""" .

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