sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

15

rq turtle/ttl

Find orthologous group/s at any level containing protein with Uniprot id P12345

Use at

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 .
}