@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_02033#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_02033#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-7>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-25>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-26>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-12>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-23>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-16>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-24>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-45>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-21>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-22>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-13>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-6>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-20>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-41>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-42>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-15>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-37>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-40>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-10>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-33>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-4>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-11>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-39>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-18>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-17>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-0>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-34>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_02033#construct-template-36>, <http://purl.uniprot.org/unirules/MF_02033#construct-template-29>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02033#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02033#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:716790 up:source unirule:MF_02033 .
  _:716791 up:source unirule:MF_02033 .
  _:716792 up:source unirule:MF_02033 .
  _:716793 up:source unirule:MF_02033 .
  _:716794 up:source unirule:MF_02033 .
  _:716795 up:source unirule:MF_02033 .
  _:716796 up:source unirule:MF_02033 .
  _:716797 up:source unirule:MF_02033 .
  _:716798 up:source unirule:MF_02033 .
  _:716799 up:source unirule:MF_02033 .
  _:716800 up:source unirule:MF_02033 .
  _:716801 up:source unirule:MF_02033 .
  _:716802 up:source unirule:MF_02033 .
  ?this up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation4 ;
    up:classifiedWith GO:0009898 ,
      GO:0032153 ,
      GO:0043093 ,
      keyword:1003 ,
      keyword:131 ,
      keyword:132 ,
      keyword:472 ;
    up:recommendedName ?name0 .
  ?name0 up:fullName 'Cell division protein FtsA' ;
    rdf:type up:Structured_Name .
  ?gene1 skos:prefLabel 'ftsA' .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment 'Cell division protein that is involved in the assembly of the Z ring. May serve as a membrane anchor for the Z ring.' .
  ?annotation3 a up:Subunit_Annotation ;
    rdfs:comment 'Self-interacts. Interacts with FtsZ.' .
  ?annotation4 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the FtsA/MreB family.' .
  ?case5 up:classifiedWith keyword:997 .
  _:716803 a rdf:Statement ;
    up:attribution _:716790 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:716804 a rdf:Statement ;
    up:attribution _:716791 ;
    rdf:subject ?gene1 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene1 .
  _:716805 a rdf:Statement ;
    up:attribution _:716792 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:716806 a rdf:Statement ;
    up:attribution _:716793 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:716807 a rdf:Statement ;
    up:attribution _:716794 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:716808 a rdf:Statement ;
    up:attribution _:716795 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:131 .
  _:716809 a rdf:Statement ;
    up:attribution _:716796 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:132 .
  _:716810 a rdf:Statement ;
    up:attribution _:716797 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1003 .
  _:716811 a rdf:Statement ;
    up:attribution _:716798 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:472 .
  _:716812 a rdf:Statement ;
    up:attribution _:716799 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0043093 .
  _:716813 a rdf:Statement ;
    up:attribution _:716800 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0032153 .
  _:716814 a rdf:Statement ;
    up:attribution _:716801 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0009898 .
  _:716815 a rdf:Statement ;
    up:attribution _:716802 ;
    rdf:subject ?case5 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:997 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02033
  #Rule MF_02033 Created by:? on:2015-06-05 Modified by:Edouard de Castro on:2023-06-01
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02033 .
  ?thisOrganism rdfs:subClassOf+ taxon:2 .
  BIND(URI(CONCAT(STR(?this), '#MF_02033a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02033a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_02033a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02033a4')) AS ?annotation4) .
  OPTIONAL {
    ?this a up:Protein .
    {
      ?this up:proteome <http://purl.uniprot.org/proteomes/Membrane#2>.
    } UNION {
      ?this up:proteome ?p7 .
      ?p7 skos:narrower <http://purl.uniprot.org/proteomes/Membrane#2>.
    }
    BIND(?this AS ?case5) .
  }
  OPTIONAL {
    ?this a up:Protein .
    {
      FILTER (! (EXISTS {
        {
          ?this up:proteome <http://purl.uniprot.org/proteomes/Membrane#any>.
        } UNION {
          ?this up:proteome ?p8 .
          ?p8 skos:narrower <http://purl.uniprot.org/proteomes/Membrane#any>.
        }
      })) .
    } UNION {
      FILTER (! (EXISTS {
        {
          ?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 ?case6) .
  }
}
""" .

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