File size: 541 Bytes
c64615c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#+ 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.hpoannot.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)
}
}
|