@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_02125#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_02125#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-36>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-5>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-11>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-2>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-17>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-21>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-18>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-33>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-28>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-1>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-12>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-40>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-34>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-15>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-19>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-9>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-41>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-13>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-27>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-38>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-4>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-37>, <http://purl.uniprot.org/unirules/MF_02125#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_02125#construct-template-39>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_02125#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_02125#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:755015 up:source unirule:MF_02125 .
  _:755016 up:source unirule:MF_02125 .
  _:755017 up:source unirule:MF_02125 .
  _:755018 up:source unirule:MF_02125 .
  _:755019 up:source unirule:MF_02125 .
  _:755020 up:source unirule:MF_02125 .
  _:755021 up:source unirule:MF_02125 .
  _:755022 up:source unirule:MF_02125 .
  _:755023 up:source unirule:MF_02125 .
  _:755024 up:source unirule:MF_02125 .
  ?this up:alternativeName ?name1 ;
    up:annotation ?annotation3 ,
      ?annotation5 ;
    up:classifiedWith GO:0018364 ,
      GO:0036009 ,
      keyword:489 ,
      keyword:808 ,
      keyword:949 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '2.1.1.298' ;
    up:fullName 'Ribosomal protein uL3 glutamine methyltransferase' ;
    up:shortName 'uL3 MTase' ;
    rdf:type up:Structured_Name .
  ?name1 up:fullName 'N5-glutamine methyltransferase PrmB' ;
    rdf:type up:Structured_Name .
  ?gene2 skos:prefLabel 'prmB' .
  ?annotation3 up:activity ?activity4 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity4 up:catalyticActivity <http://rdf.rhea-db.org/45020>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/2.1.1.298>.
  ?annotation5 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the protein N5-glutamine methyltransferase family. PrmB subfamily.' .
  _:755025 a rdf:Statement ;
    up:attribution _:755015 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:755026 a rdf:Statement ;
    up:attribution _:755016 ;
    rdf:subject ?this ;
    rdf:predicate up:alternativeName ;
    rdf:object ?name1 .
  _:755027 a rdf:Statement ;
    up:attribution _:755017 ;
    rdf:subject ?gene2 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene2 .
  _:755028 a rdf:Statement ;
    up:attribution _:755018 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:755029 a rdf:Statement ;
    up:attribution _:755019 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:755030 a rdf:Statement ;
    up:attribution _:755020 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:489 .
  _:755031 a rdf:Statement ;
    up:attribution _:755021 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:949 .
  _:755032 a rdf:Statement ;
    up:attribution _:755022 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:808 .
  _:755033 a rdf:Statement ;
    up:attribution _:755023 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0036009 .
  _:755034 a rdf:Statement ;
    up:attribution _:755024 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0018364 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_02125
  #Rule MF_02125 Created by:? on:2011-10-28 Modified by:Edouard de Castro on:2024-09-02
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_02125 .
  ?thisOrganism rdfs:subClassOf+ taxon:1224 .
  BIND(URI(CONCAT(STR(?this), '#MF_02125a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_02125a1')) AS ?name1) .
  BIND(URI(CONCAT(STR(?this), '#MF_02125a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_02125a5')) AS ?annotation5) .
  OPTIONAL {
    ?this a up:Protein .
    VALUES ?supertaxon8 {taxon:561 taxon:620 taxon:590}
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ ?supertaxon8 .
    BIND(?this AS ?case6) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    FILTER (! (EXISTS {
      VALUES ?supertaxon9 {taxon:561 taxon:620 taxon:590}
      ?thisOrganism rdfs:subClassOf+ ?supertaxon9 .
    })) .
    BIND(?this AS ?case7) .
  }
}
""" .

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