Question: What is the relationship between Brian Jones (the one that has the occupation of politician) and the United States of America?
Choices:
nutrient
country of citizenship
field of work
studied by
military casualty classification
cause of death
edition or translation of
language of work or name
sport
patron saint
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brian Jones" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4