What is the {constitution} for {foundational text} of {Soviet Union}
[]
What is the constitution of the Soviet Union?
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:constitution . resource:Soviet_Union property:foundational_text ?t }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q15180> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P457> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7755> } 
 select distinct ?obj where { wd:Q15180 wdt:P457 ?obj . ?obj wdt:P31 wd:Q7755 } 
1924 Soviet Constitution