What is the {federated state} for {headquarters location} of {Nazi Germany}
What was the capital city of Nazi Germany?
What was the capital city of Nazi Germany?
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:federated_state . ?t property:headquarters_location resource:Nazi_Germany }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q7318> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q107390> } 
 select distinct ?sbj where { ?sbj wdt:P159 wd:Q7318 . ?sbj wdt:P31 wd:Q107390 } 
Free People's State of Württemberg Free State of Anhalt Free State of Oldenburg