query-4912fae84e2c98368d176bc118fae7c4
Propertiessymptoms and signs (P780)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?condition ?conditionLabel WHERE {
?condition wdt:P780 wd:Q86 . #headache
?condition wdt:P780 wd:Q35805 . #cough
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Medicine/Talks/Wikimedia_for_Medicine_course_at_Tel_Aviv_University_2020
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Medicine/Talks/Wikimedia_for_Medicine_course_at_Tel_Aviv_University_2021
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?condition"):::projected
c5(["bd:serviceParam"]):::iri
c3(["wd:Q35805"]):::iri
c2(["wd:Q86"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P780"--> c2
v1 --"wdt:P780"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end