Datasets:

Modalities:
Text
Languages:
English
License:
translator-openpredict / sparql /omim-disease-mesh.rq
anas-elghafari's picture
Upload folder using huggingface_hub
c64615c verified
raw
history blame contribute delete
548 Bytes
#+ summary: We should add a summary.
#+ endpoint: "http://example.com/sparql"
PREFIX ov: <http://bio2rdf.org/openpredict_vocabulary:>
PREFIX dct: <http://purl.org/dc/terms/>
SELECT distinct ?diseaseid ?hpoid
WHERE{
?drug ov:indication ?disease .
GRAPH <http://w3id.org/fairworkflows/dataset.openpredict.meshannot.R1>
{
?disease <http://semanticscience.org/resource/SIO_000255> ?hpo .
BIND( STRAFTER(str(?disease),"http://bio2rdf.org/omim:") AS ?diseaseid)
BIND( STRAFTER(str(?hpo),"http://bio2rdf.org/") AS ?hpoid)
}
}