What is {founders} of {Confucianism}, that has {kids} is {Kong Li} ?
Give me the name of the confucianism founder kid Kong Li.
Who is the founder of Confucianism, whose kid is Kong Li?
SELECT ?w WHERE { resource:Confucianism property:founded_by ?w . ?w property:child resource:Kong_Li }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9581> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P112>. ?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/Q7240164> . }
SELECT ?answer WHERE { wd:Q9581 wdt:P112 ?answer . ?answer wdt:P40 wd:Q7240164}
Confucius