Question: What is the connection between Baden-Baden to German Empire (the one that is the country of Marburg)?
Choices:
successful candidate
language of work or name
country
director of photography
substitute/deputy/replacement of office/officeholder
film distribute region
separated from
feast day
award received
applies to jurisdiction
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Baden-Baden" . ?e_2 <pred:name> "German Empire" . ?e_3 <country> ?e_2 . ?e_3 <pred:name> "Marburg" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Baden-Baden
function: Find
inputs: Marburg
function: Relate
dependencies: 1
inputs: country
forward
function: Find
inputs: German Empire
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4