query-74010992f27dab7e1e7f563e8824b681
Works by Aeschylus
SELECT ?item ?itemLabel ?instanceLabel ?genreLabel ?title
WHERE {
{ ?item wdt:P31 wd:Q25379 . } UNION { ?item wdt:P31 ?c .
?c wdt:P279 wd:Q17851719 . } .
?item wdt:P50 wd:Q40939 .
?item wdt:P31 ?instance .
?item wdt:P136 ?genre .
?item wdt:P1476 ?title .
SERVICE wikibase:label { bd:serviceParam wikibase:language "it,grc" }
}
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#>
#Works by Aeschylus
SELECT ?item ?itemLabel ?instanceLabel ?genreLabel ?title
WHERE {
{ ?item wdt:P31 wd:Q25379 . } UNION { ?item wdt:P31 ?c .
?c wdt:P279 wd:Q17851719 . } .
?item wdt:P50 wd:Q40939 .
?item wdt:P31 ?instance .
?item wdt:P136 ?genre .
?item wdt:P1476 ?title .
SERVICE wikibase:label { bd:serviceParam wikibase:language "it,grc" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?c")
v4("?genre")
v3("?instance")
v1("?item"):::projected
v5("?title"):::projected
c2(["wd:Q25379"]):::iri
c12(["it,grc"]):::literal
c4(["wd:Q17851719"]):::iri
c10(["bd:serviceParam"]):::iri
c6(["wd:Q40939"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> v2
v2 --"wdt:P279"--> c4
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> c2
end
union0r <== or ==> union0l
end
v1 --"wdt:P50"--> c6
v1 --"wdt:P31"--> v3
v1 --"wdt:P136"--> v4
v1 --"wdt:P1476"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end