query-b59a9eed61c4065c630d011e76afa9f3
A bit of a mess is an utter mess that has to be cleaned up. (Q815823)business model (P31)instance of (Q21503252)instance of (P31)instance of . I think this is okay, but currently items that are (Q815823)business model (P31)instance of (Q21503252)instance of (P31)instance of Currently this property is constrained to only allow items that are
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 ?item ?itemLabel WHERE {
?item wdt:P31/(wdt:P279)* wd:Q815823.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en,en"]):::literal
c3(["wd:Q815823"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end