query-d6d3d8e7a5e349b1db6afd7cba8d5738
Diseases ...Has symptoms: (Q21120251)black skin (Q86)headache (Q737460)visual impairment
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?itemLabel ?itemDescription {
?item wdt:P780/wdt:P31*/wdt:P279* wd:Q737460, wd:Q86, wd:Q21120251.
OPTIONAL { ?item rdfs:label ?itemLabel FILTER(LANG(?itemLabel) = "en") }
OPTIONAL { ?item schema:description ?itemDescription FILTER(LANG(?itemDescription) = "en") }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v1("?itemDescription"):::projected
v2("?itemLabel"):::projected
a1((" "))
a2((" "))
c7(["wd:Q21120251"]):::iri
c6(["wd:Q86"]):::iri
c5(["wd:Q737460"]):::iri
v3 --"wdt:P780"--> a1
a1 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c5
a2 --"wdt:P279"--> c6
a2 --"wdt:P279"--> c7
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."rdfs:label".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."schema:description".-> v1
end