What is {named for} of {Walmart}, that has {has children} is {Jim Walton} ?
Does the author of Walmart, Jim Walton have any children?
Does the founder of Walmart, Jim Walton have any children?
SELECT ?v WHERE { ?v property:child resource:Jim_Walton . resource:Walmart property:named_after ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q483551> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P138>. ?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/Q741784> . }
SELECT ?answer WHERE { wd:Q483551 wdt:P138 ?answer . ?answer wdt:P40 wd:Q741784}
Sam Walton