What is {main topic} of {bardo}, that has {founded in} is {Bodh Gaya} ?
"What is {main topic} of {bardo}, which {founded in} is {Bodh Gaya} ?"
"What is {main topic} of {bardo}, which {founded in} is {Bodh Gaya} ?"
SELECT ?v WHERE { resource:Bardo property:facet_of ?v . ?v property:location_of_formation resource:Bodh_Gaya }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q256585> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1269>. ?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/P740> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q176767> . }
SELECT ?answer WHERE { wd:Q256585 wdt:P1269 ?answer . ?answer wdt:P740 wd:Q176767}