What is {writers} of {Mahabharata}, that has {has children} is {Dhritarashtra} ?
Who are the scholars of Mahabharata with children in Dhritarashtra?
Who are the writers of Mahabharata with children in Dhritarashtra?
SELECT ?k WHERE { resource:Mahabharata property:author ?k . ?k property:child resource:Dhritarashtra }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8276> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P50>. ?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/P40> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q926150> . }
SELECT ?answer WHERE { wd:Q8276 wdt:P50 ?answer . ?answer wdt:P40 wd:Q926150}
Vyasa