What is {brother} of {painting of} of {Shiva with Parvati, Ganesha, and Nandi} ?
Which person's brother painted "Shiva with Parvati, Ganesha, and Nandi"?
Whose brother painted a painting of Shiva with Parvati, Ganesha, and Nandi?
SELECT ?y WHERE { resource:Shiva_with_Parvati,_Ganesha,_and_Nandi property:depicts ?c . ?c property:sibling ?y }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q50817372> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P180>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3373> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q50817372 wdt:P180 ?X . ?X wdt:P3373 ?answer}
Murugan