Question: To which country does Jesus College (the one whose National Heritage List for England number is 1283394)'s whose headquarters is located in Oxford, belong to ?
Choices:
Taiwan
Lebanon
Estonia
Israel
Holy Roman Empire
People's Republic of China
United Kingdom
Singapore
United Kingdom of Great Britain and Ireland
Papal States
Answer: United Kingdom
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jesus College" . ?e_1 <National_Heritage_List_for_England_number> ?pv . ?pv <pred:value> "1283394" . ?e_2 <pred:name> "Oxford" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Jesus College
function: FilterStr
dependencies: 0
inputs: National Heritage List for England number
1283394
function: Find
inputs: Oxford
function: QueryRelationQualifier
dependencies: 1
2
inputs: headquarters location
country