Question: I need to know the art that is studied by the academic discipline that studies English.
Choices:
photography
English literature
portrait
English
sword and sorcery
conceptual art
ballet
romantic fantasy
Dark Horse Comics
acting
Answer: English literature
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art" . ?e_1 <studies> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "academic discipline" . ?e_1 <studies> ?e_2 . ?e_2 <pred:name> "English" .   }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: studies
backward
function: FilterConcept
dependencies: 1
inputs: academic discipline
function: Relate
dependencies: 2
inputs: studies
forward
function: FilterConcept
dependencies: 3
inputs: art
function: What
dependencies: 4