@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_01726#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_01726#construct-template-41>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-14>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-42>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-19>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-38>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-59>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-40>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-9>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-21>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-45>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-22>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-7>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-28>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-25>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-12>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-52>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-44>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-15>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-3>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-33>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-29>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-17>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-10>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-2>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-54>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-24>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-39>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-30>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-16>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-8>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-57>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-49>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-50>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-53>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-34>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-51>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-4>, <http://purl.uniprot.org/unirules/MF_01726#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_01726#construct-template-56>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_01726#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_01726#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:630749 up:source unirule:MF_01726 .
  _:630750 up:source unirule:MF_01726 .
  _:630751 up:source unirule:MF_01726 .
  _:630752 up:source unirule:MF_01726 .
  _:630753 up:source unirule:MF_01726 .
  _:630754 up:source unirule:MF_01726 .
  _:630755 up:source unirule:MF_01726 .
  _:630756 up:source unirule:MF_01726 .
  _:630757 up:source unirule:MF_01726 .
  _:630758 up:source unirule:MF_01726 .
  _:630759 up:source unirule:MF_01726 .
  _:630760 up:source unirule:MF_01726 .
  _:630761 up:source unirule:MF_01726 .
  _:630762 up:source unirule:MF_01726 .
  _:630763 up:source unirule:MF_01726 .
  _:630764 up:source unirule:MF_01726 .
  ?this up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation5 ,
      ?annotation6 ;
    up:classifiedWith GO:0005886 ,
      GO:0015417 ,
      GO:0015846 ,
      keyword:1003 ,
      keyword:1278 ,
      keyword:472 ,
      keyword:547 ,
      keyword:67 ,
      keyword:813 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '7.6.2.11' ;
    up:fullName 'Spermidine/putrescine import ATP-binding protein PotA' ;
    rdf:type up:Structured_Name .
  ?gene1 skos:prefLabel 'potA' .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment 'Part of the ABC transporter complex PotABCD involved in spermidine/putrescine import. Responsible for energy coupling to the transport system.' .
  ?annotation3 up:activity ?activity4 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity4 up:enzymeClass <http://purl.uniprot.org/enzyme/7.6.2.11>.
  ?annotation5 a up:Subunit_Annotation ;
    rdfs:comment 'The complex is composed of two ATP-binding proteins (PotA), two transmembrane proteins (PotB and PotC) and a solute-binding protein (PotD).' .
  ?annotation6 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the ABC transporter superfamily. Spermidine/putrescine importer (TC 3.A.1.11.1) family.' .
  ?case7 up:classifiedWith keyword:997 .
  _:630765 a rdf:Statement ;
    up:attribution _:630749 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:630766 a rdf:Statement ;
    up:attribution _:630750 ;
    rdf:subject ?gene1 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene1 .
  _:630767 a rdf:Statement ;
    up:attribution _:630751 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:630768 a rdf:Statement ;
    up:attribution _:630752 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:630769 a rdf:Statement ;
    up:attribution _:630753 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:630770 a rdf:Statement ;
    up:attribution _:630754 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:630771 a rdf:Statement ;
    up:attribution _:630755 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0015846 .
  _:630772 a rdf:Statement ;
    up:attribution _:630756 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0015417 .
  _:630773 a rdf:Statement ;
    up:attribution _:630757 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0005886 .
  _:630774 a rdf:Statement ;
    up:attribution _:630758 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:67 .
  _:630775 a rdf:Statement ;
    up:attribution _:630759 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1003 .
  _:630776 a rdf:Statement ;
    up:attribution _:630760 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:472 .
  _:630777 a rdf:Statement ;
    up:attribution _:630761 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:547 .
  _:630778 a rdf:Statement ;
    up:attribution _:630762 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:813 .
  _:630779 a rdf:Statement ;
    up:attribution _:630763 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1278 .
  _:630780 a rdf:Statement ;
    up:attribution _:630764 ;
    rdf:subject ?case7 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:997 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_01726
  #Rule MF_01726 Created by:? on:2007-04-03 Modified by:Edouard de Castro on:2023-06-01
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso prosite:PS51305 .
  ?thisOrganism rdfs:subClassOf+ taxon:2 .
  BIND(URI(CONCAT(STR(?this), '#MF_01726a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_01726a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_01726a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_01726a5')) AS ?annotation5) .
  BIND(URI(CONCAT(STR(?this), '#MF_01726a6')) 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_01726> <http://www.w3.org/ns/shacl#rule> <http://purl.uniprot.org/unirules/MF_01726#construct> .
