query-f324d483061809472d181bad06ac005e
TODO
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?manga_chapter ?manga_chapterLabel ?japanese_title ?volume ?series ?pub_date ?pub_place ?pub_placeLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?manga_chapter wdt:P31 wd:Q53460949 .
?manga_chapter p:P179 ?qual . ?qual ps:P179 wd:Q185143 .
OPTIONAL { ?qual pq:P478 ?volume . }
OPTIONAL { ?qual pq:P1545 ?series . }
OPTIONAL { ?manga_chapter p:P577 ?pub. ?pub ps:P577 ?pub_date .
OPTIONAL { ?pub pq:P291 ?pub_place . }
}
OPTIONAL { ?manga_chapter wdt:P1476 ?japanese_title . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
} ORDER BY (?series)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v8("?japanese_title"):::projected
v2("?manga_chapter"):::projected
v5("?pub")
v6("?pub_date"):::projected
v7("?pub_place"):::projected
v3("?qual")
v1("?series"):::projected
v4("?volume"):::projected
c9(["wd:Q185143"]):::iri
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c6(["wd:Q53460949"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v2 --"p:direct/P31"--> c6
v2 --"p:P179"--> v3
v3 --"p:statement/P179"--> c9
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:qualifier/P478".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:qualifier/P1545".-> v1
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:P577".-> v5
v5 --"p:statement/P577"--> v6
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v5 -."p:qualifier/P291".-> v7
end
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P1476".-> v8
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end