A set of SPARQL examples that are used in different SIB resources
Proteins whose gene is on chromosome 21 with at least one disease annotation from Orphanet
PREFIX : <http://nextprot.org/rdf/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX source: <http://nextprot.org/rdf/source/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?entry (str(?disname) as ?disease) WHERE {
?entry :isoform ?iso; :gene / :chromosome "21"^^xsd:string .
?iso :disease ?medannot .
?medannot rdfs:comment ?disname; :evidence / :assignedBy source:Orphanet.
}