@prefix ex: <https://sparql.orthodb.org/.well-known/sparql-examples/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

ex:15 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Find orthologous group/s at any level containing protein with Uniprot id P12345"@en;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX uniprotkb: <http://purl.uniprot.org/uniprot/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX : <http://purl.orthodb.org/>

SELECT *
WHERE {
    ?og a :OrthoGroup ;
        :ogBuiltAt ?level;
        :hasMember/rdfs:seeAlso uniprotkb:P12345 .
}""" ;
    schema:target <https://sparql.orthodb.org/sparql/> .

