query-bf4bfa38d9499847da8c158925d2ef72
日本の総理大臣 (P1545)series ordinal (P1366)replaced by (P1365)replaces (P582)end time (P580)start time (P5054)member of cabinet - (P39)position held
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?i ?iLabel ?nkkLabel ?odr where {
?i p:P39 [ps:P39 wd:Q274948; pq:P5054 ?nkk; pq:P1545 ?odr; prov:wasDerivedFrom [pr:P143 wd:Q177837]; ].
SERVICE wikibase:label { bd:serviceParam wikibase:language "ja" } .
}ORDER By ?odr
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?i"):::projected
v2("?nkk")
v1("?odr"):::projected
a1((" "))
a2((" "))
c10(["bd:serviceParam"]):::iri
c6(["wd:Q177837"]):::iri
c12(["ja"]):::literal
c2(["wd:Q274948"]):::iri
a1 --"p:statement/P39"--> c2
a1 --"p:qualifier/P5054"--> v2
a1 --"p:qualifier/P1545"--> v1
a2 --"p:reference/P143"--> c6
a1 --"prov:wasDerivedFrom"--> a2
v3 --"p:P39"--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end