Question: What is the connection between Max Weber (the one that is the citizen of Germany) to politician?
Choices:
occupation
author
eye color
programming paradigm
designed to carry
military rank
filming location
official residence
symptom of
educated at
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Max Weber" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Germany" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Max Weber
function: And
dependencies: 1
2
function: Find
inputs: politician
function: QueryRelation
dependencies: 3
4