@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_01371#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_01371#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-15>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-8>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-6>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-11>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-17>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-1>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-12>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-5>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_01371#construct-template-0>, <http://purl.uniprot.org/unirules/MF_01371#construct-template-9>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_01371#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_01371#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:493836 up:source unirule:MF_01371 .
  _:493837 up:source unirule:MF_01371 .
  _:493838 up:source unirule:MF_01371 .
  _:493839 up:source unirule:MF_01371 .
  _:493840 up:source unirule:MF_01371 .
  ?this up:annotation ?annotation0 ,
      ?annotation1 ;
    up:classifiedWith GO:0006412 ,
      keyword:687 ,
      keyword:689 .
  ?annotation0 a up:Subunit_Annotation ;
    rdfs:comment 'Part of the 50S ribosomal subunit.' .
  ?annotation1 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the universal ribosomal protein uL30 family.' .
  _:493841 a rdf:Statement ;
    up:attribution _:493836 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation0 .
  _:493842 a rdf:Statement ;
    up:attribution _:493837 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation1 .
  _:493843 a rdf:Statement ;
    up:attribution _:493838 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:687 .
  _:493844 a rdf:Statement ;
    up:attribution _:493839 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:689 .
  _:493845 a rdf:Statement ;
    up:attribution _:493840 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0006412 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_01371
  #Rule MF_01371 Created by:? on:2007-01-08 Modified by:Catherine Rivoire on:2024-05-14
  {
    VALUES ?supertaxon4 {taxon:57723 taxon:201174 taxon:187857 taxon:976 taxon:1090 taxon:200795 taxon:1297 taxon:1239 taxon:32066 taxon:1224 taxon:203691 taxon:188708}
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01371_B .
    ?thisOrganism rdfs:subClassOf+ ?supertaxon4 .
  } UNION {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01371_A .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
  }
  BIND(URI(CONCAT(STR(?this), '#MF_01371a0')) AS ?annotation0) .
  BIND(URI(CONCAT(STR(?this), '#MF_01371a1')) AS ?annotation1) .
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    BIND(?this AS ?case2) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    BIND(?this AS ?case3) .
  }
}
""" .

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