A set of SPARQL examples that are used in different SIB resources
Find diseases that are thought to be related to enzymes
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX up: <http://purl.uniprot.org/core/>
SELECT
?disease ?diseaseLabel
WHERE {
?protein up:enzyme|up:annotation/up:catalyticActivity/up:enzymeClass ?enzyme ;
up:annotation ?diseaseAnnotation .
?diseaseAnnotation a up:Disease_Annotation ;
up:disease ?disease .
?disease skos:prefLabel ?diseaseLabel .
}