What is {previous job holder} of {German Empire}, that has {construction date} is {1867-7-1} ?
What is the previous occupation of German Empire, with the construction date of 1867-7-1
What is the previous occupation of German Empire, with the construction date of 1867-7-1
SELECT ?k WHERE { FILTER ( CONTAINS ( YEAR ( ?o ) , '1867' ) ) . resource:German_Empire property:replaces ?k . ?k property:inception ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43287> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1365>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P571> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1867-7-1> . }
SELECT ?answer WHERE { wd:Q43287 wdt:P1365 ?answer . ?answer wdt:P571 ?x FILTER(contains(YEAR(?x),'1867'))}
North German Confederation