query-92f2804f83830c4af7c0d5b45e891c59
Things that are "based on" a person suggests the object has to be a work. (P144)based on English description of
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 ?thing ?thingLabel ?thingDescription ?personLabel WHERE {
?thing wdt:P144 ?person.
?person wdt:P31 wd:Q5
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?person")
v1("?thing"):::projected
c5(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P144"--> v2
v2 --"wdt:P31"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end