A set of SPARQL examples that are used in different AMC resources
This query retrieves all external references (hasDbXref) for the ORDO disease orphanet:91546 (Lyme disease). It helps to analyze links from ORDO to external databases and understand cross-references.
PREFIX orphanet: <http://www.orpha.net/ORDO/Orphanet_>
PREFIX oio: <http://www.geneontology.org/formats/oboInOwl#>
SELECT ?object
WHERE {
orphanet:91546 oio:hasDbXref ?object .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?object"):::projected
c1([http://www.orpha.net/ORDO/Orphanet_91546]):::iri
c1 --http://www.geneontology.org/formats/oboInOwl#hasDbXref--> v1