Question: What does Spain's citizen Alaska have to do with television presenter?
Choices:
followed by
occupation
located in or next to body of water
place of publication
capital
production designer
edition or translation of
director
religious order
office held by head of state
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alaska" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Spain" . ?e_2 <pred:name> "television presenter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Alaska
function: And
dependencies: 1
2
function: Find
inputs: television presenter
function: QueryRelation
dependencies: 3
4