What is the {treaty} for {foundational text} of {Soviet Union}
What is the title of the settlement that established the Soviet Union?
What is the name of the treaty that founded the Soviet Union?
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:treaty . resource:Soviet_Union property:foundational_text ?m }
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/Q131569> } 
 select distinct ?obj where { wd:Q15180 wdt:P457 ?obj . ?obj wdt:P31 wd:Q131569 } 
Treaty on the Creation of the Union of Soviet Socialist Republics