What is {kids} of {inspirational artist} of {The Color Purple} ?
Who are the kids that propelled the Color Purple
Who are the kids that inspired the Color Purple
SELECT ?e WHERE { resource:The_Color_Purple property:after_a_work_by ?h . ?h property:child ?e }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q223299> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1877>. ?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/P40> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q223299 wdt:P1877 ?X . ?X wdt:P40 ?answer}
Rebecca Walker