Question: What is the association between FK Austria Wien and Vienna (that is the residence of Karl Popper)?
Choices: signatory
present in work
candidacy in election
medical treatment
said to be the same as
studied by
participant
chairperson
headquarters location
parent organization
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "FK Austria Wien" . ?e_2 <pred:name> "Vienna" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Karl Popper" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: FK Austria Wien
function: Find
inputs: Karl Popper
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Vienna
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: headquarters location