query-e69da2e9887b92a98e6e9cbd21e436f3
All female mangaka:
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 ?dateofbirth ?dateofdeath (URI(CONCAT("https://mediaarts-db.bunka.go.jp/mg/authorities/",?MAD,"?locale=en")) AS ?Media_Art_Database)
WHERE {
?item wdt:P31 wd:Q5 .
?item wdt:P21 wd:Q6581072 .
?item wdt:P106 wd:Q191633 .
OPTIONAL { ?item wdt:P3231 ?MAD . }
OPTIONAL { ?item wdt:P569 ?dateofbirth . }
OPTIONAL { ?item wdt:P570 ?dateofdeath . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ja" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?MAD"):::projected
v5("?Media_Art_Database")
v3("?dateofbirth"):::projected
v4("?dateofdeath"):::projected
v1("?item"):::projected
c4(["wd:Q6581072"]):::iri
c6(["wd:Q191633"]):::iri
c11(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c13(["en,ja"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P21"--> c4
v1 --"wdt:P106"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P3231".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P569".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P570".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end
bind0[/"concat('https://mediaarts-db.bunka.go.jp/mg/authorities/',?MAD,'?locale=en')"/]
v2 --o bind0
bind0 --as--o v5