query-9796192e0187191b7a5c9f459913bd81

rq turtle/ttl

"Wine" as object select ?s ?sLabel ?pLabel ?oLabel WHERE { ?s ?p ?o . ?o wdt:P279* wd:Q282 . FILTER(?p in (wdt:P101,wdt:P131, wdt:P136, wdt:P162 ,wdt:P186,wdt:P301,wdt:P452,wdt:P527,p:qualifier\/P642, wdt:P706,wdt:P921,wdt:P971,wdt:P1056,wdt:P1855)) SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } ORDER BY ?pLabel DESC(?count)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#"Wine" as object
select ?s ?sLabel ?pLabel ?oLabel 
WHERE { ?s ?p ?o . 
       ?o wdt:P279* wd:Q282 . 
FILTER(?p in (wdt:P101,wdt:P131, wdt:P136, wdt:P162 ,wdt:P186,wdt:P301,wdt:P452,wdt:P527,p:qualifier\/P642, wdt:P706,wdt:P921,wdt:P971,wdt:P1056,wdt:P1855))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
       }
ORDER BY ?pLabel 
DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?count") v5("?o") v3("?p") v1("?pLabel"):::projected v4("?s"):::projected c20(["en"]):::literal c18(["bd:serviceParam"]):::iri c16(["wd:Q282"]):::iri list0c9(["p:qualifier/P642"]):::iri list0c10(["p:direct/P706"]):::iri list0c8(["p:direct/P527"]):::iri list0c11(["p:direct/P921"]):::iri list0c13(["p:direct/P1056"]):::iri list0c3(["p:direct/P136"]):::iri list0c6(["p:direct/P301"]):::iri list0c12(["p:direct/P971"]):::iri list0c1(["p:direct/P101"]):::iri list0c7(["p:direct/P452"]):::iri list0c14(["p:direct/P1855"]):::iri list0c2(["p:direct/P131"]):::iri list0c5(["p:direct/P186"]):::iri list0c4(["p:direct/P162"]):::iri list0c1 --o f0 list0c2 --o f0 list0c3 --o f0 list0c4 --o f0 list0c5 --o f0 list0c6 --o f0 list0c7 --o f0 list0c8 --o f0 list0c9 --o f0 list0c10 --o f0 list0c11 --o f0 list0c12 --o f0 list0c13 --o f0 list0c14 --o f0 f0[[" in "]] f0 --> v3 v4 -->v3--> v5 v5 --"p:direct/P279"--> c16 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c18 --"wikibase:language"--> c20 end