query-923577d6004dea3f0757e3600a2c0a43
Propertiessubclass of (P279)medical condition (P1050)instance of (P31)
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?condition ?conditionLabel (COUNT(?trial) AS ?count)
WHERE
{
?trial p:P31/ps:P31/wdt:P279* wd:Q30612.
?trial wdt:P1050 ?condition .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?condition ?conditionLabel ?count
ORDER BY DESC(?count)