Question: What is the connection between Albert Einstein (the one that was nominated for Nobel Prize in Physics) to Germany?
Choices:
quotes work
residence
has parts of the class
mascot
office held by head of government
software engine
film crew member
exclave of
taxon rank
filmography
Program:
function: Find
inputs: Nobel Prize in Physics
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: Find
inputs: Germany
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Albert Einstein" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Nobel Prize in Physics" . ?e_2 <pred:name> "Germany" . ?e_1 ?p ?e_2 .  }
Answer: residence