rete
playground
Select
Diseases & phenotypes located in an organ (HPO + Disease Ontology)
Kind
Term
Icd10
disease (DOID)
Epstein-Barr virus he…
disease (DOID)
polycystic echinococc…
disease (DOID)
tyrosinemia type II @…
disease (DOID)
polycystic liver dise…
Run this query →
no server · no download · no account
caviri.github.io/rete
Run this query in the playground →
25 rows · 30 ms · no server, no download — the query runs in your browser.
The query
PREFIX anat: <https://w3id.org/rete/anatomy#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?kind ?term ?icd10 WHERE { ?organ rdfs:label "Liver"@en . { ?organ anat:relatedDisease ?t . BIND("disease (DOID)" AS ?kind) } UNION { ?organ anat:relatedPhenotype ?t . BIND("phenotype (HP)" AS ?kind) } ?t rdfs:label ?term . FILTER(langMatches(lang(?term), "en")) OPTIONAL { ?t anat:icd10 ?icd10 } } ORDER BY ?kind ?icd10 LIMIT 25
rete playground
·
documentation
·
github.com/caviri/rete