query-a1f55542677c3a4d6ba6b8b865a89b0e
Propertiesauthor (P50)genre (P136)subclass of (P279)
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 ?author ?authorLabel ?work ?workLabel
WHERE {
VALUES ?author {
wd:Q36322
wd:Q42
}
?work wdt:P50 ?author;
wdt:P136/wdt:P279 wd:Q8261 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?authorLabel ?workLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?author"):::projected
v1("?authorLabel"):::projected
v4("?work"):::projected
v2("?workLabel"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c4(["wd:Q8261"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?author/]
bind0-->v3
bind00(["wd:Q36322"])
bind00 --> bind0
bind01(["wd:Q42"])
bind01 --> bind0
v4 --"wdt:P50"--> v3
v4 --"wdt:P136"--> a1
a1 --"wdt:P279"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end