Question: What 'activity' matches the geography of a topic that is the Earth (the one that is the narrative location of WALL·E) ?
Choices:
gluten-free diet
geography
sociology
anthropology
economics
biotechnology
aesthetics
Band Hero
murder
psychology
Answer: geography
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e_1 <geography_of_topic> ?e . ?e_1 <pred:name> "Earth" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "WALL·E" .   }
Program:
function: Find
inputs: WALL·E
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Earth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: geography of topic
forward
function: FilterConcept
dependencies: 4
inputs: activity
function: What
dependencies: 5