Question: What is the connection between Richard Wagner (the one that works in the location Innsbruck) to Nazi Party?
Choices:
theme music
material used
military rank
famous people
indigenous to
winner
member of political party
operating area
located on astronomical location
follows
Answer: member of political party
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wagner" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Innsbruck" . ?e_2 <pred:name> "Nazi Party" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Innsbruck
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Richard Wagner
function: And
dependencies: 1
2
function: Find
inputs: Nazi Party
function: QueryRelation
dependencies: 3
4