What is {child} of {Joseph Stalin} and {mother}
Who is the toddler of Joseph Stalin and his mother?
Who is the child of Joseph Stalin and his mother?
SELECT ?o ?p WHERE { ?j property:mother ?o . . resource:Joseph_Stalin property:child ?j . ?j property:child ?p }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q855> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q855 p:P40 ?s . ?s ps:P40 ?obj . ?s pq:P25 ?value1 . }