query-c3d7505cefc3b9defd4f5d4d64ede0e1
TODO Wallacegromit1
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 ?directorLabel ?director_genderLabel ?creatorLabel ?creator_genderLabel ?authorLabel ?author_genderLabel ?external_identifiers
WHERE
{
?item wdt:P1552 wd:Q45171911 .
OPTIONAL
{
?item wdt:P57 ?director .
?director wdt:P21 ?director_gender .
}
OPTIONAL
{
?item wdt:P170 ?creator .
?creator wdt:P21 ?creator_gender .
}
OPTIONAL
{
?item wdt:P50 ?author .
?author wdt:P21 ?author_gender .
}
?item wikibase:identifiers ?external_identifiers
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
- https://www.wikidata.org/w/index.php?title=Topic:Vy8nfcsly7g55ukp&topic_showPostId=vy8nfcslybe7dyix#flow-post-vy8nfcslybe7dyix
- https://www.wikidata.org/wiki/Topic:Vy8nfcsly7g55ukp
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2020/11
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?author")
v7("?author_gender")
v4("?creator")
v5("?creator_gender")
v2("?director")
v3("?director_gender")
v8("?external_identifiers"):::projected
v1("?item"):::projected
c9(["bd:serviceParam"]):::iri
c11(["en"]):::literal
c2(["wd:Q45171911"]):::iri
v1 --"wdt:P1552"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P57".-> v2
v2 --"wdt:P21"--> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P170".-> v4
v4 --"wdt:P21"--> v5
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P50".-> v6
v6 --"wdt:P21"--> v7
end
v1 --"wikibase:identifiers"--> v8
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end