@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_01507#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_01507#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_01507#construct-template-5>, <http://purl.uniprot.org/unirules/MF_01507#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_01507#construct-template-1>, <http://purl.uniprot.org/unirules/MF_01507#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_01507#construct-template-0>, <http://purl.uniprot.org/unirules/MF_01507#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_01507#construct-template-7>, <http://purl.uniprot.org/unirules/MF_01507#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_01507#construct-template-9>, <http://purl.uniprot.org/unirules/MF_01507#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_01507#construct-template-13>, <http://purl.uniprot.org/unirules/MF_01507#construct-template-12>,
    <http://purl.uniprot.org/unirules/MF_01507#construct-template-11>, <http://purl.uniprot.org/unirules/MF_01507#construct-template-14>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_01507#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_01507#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:546318 up:source unirule:MF_01507 .
  _:546319 up:source unirule:MF_01507 .
  _:546320 up:source unirule:MF_01507 .
  ?this up:annotation ?annotation0 ,
      ?annotation1 ,
      ?annotation2 .
  ?annotation0 a up:Function_Annotation ;
    rdfs:comment 'Involved in the PASTA kinase-mediated signaling pathway regulating peptidoglycan synthesis to maintain cell wall integrity.' .
  ?annotation1 a up:Subunit_Annotation ;
    rdfs:comment 'Homodimer.' .
  ?annotation2 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the IreB/ReoM family.' .
  _:546321 a rdf:Statement ;
    up:attribution _:546318 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation0 .
  _:546322 a rdf:Statement ;
    up:attribution _:546319 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation1 .
  _:546323 a rdf:Statement ;
    up:attribution _:546320 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_01507
  #Rule MF_01507 Created by:? on:2005-02-28 Modified by:Catherine Rivoire on:2025-10-09
  VALUES ?supertaxon5 {taxon:201174 taxon:1239}
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_01507 .
  ?thisOrganism rdfs:subClassOf+ ?supertaxon5 .
  BIND(URI(CONCAT(STR(?this), '#MF_01507a0')) AS ?annotation0) .
  BIND(URI(CONCAT(STR(?this), '#MF_01507a1')) AS ?annotation1) .
  BIND(URI(CONCAT(STR(?this), '#MF_01507a2')) AS ?annotation2) .
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:81852 .
    BIND(?this AS ?case3) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    FILTER (! (EXISTS {
      ?thisOrganism rdfs:subClassOf+ taxon:81852 .
    })) .
    BIND(?this AS ?case4) .
  }
}
""" .

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