Question: What book is written in English and is in the coming of age genre?
Choices:
Thunderball
Live and Let Die
One Flew Over the Cuckoo's Nest
A Single Man
Women in Love
The Firm
The Shining
I, Robot
The Perks of Being a Wallflower
The Painted Veil
Answer: The Perks of Being a Wallflower
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <genre> ?e_1 . ?e_1 <pred:name> "coming of age" .  ?e <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  }
Program:
function: Find
inputs: coming of age
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: written work
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: And
dependencies: 2
5
function: What
dependencies: 6