Question: How is Suffolk (the one whose NUTS code is UKH14) related to Norfolk (the one whose GSS code (2011) is E10000020)?
Choices:
terminus
location of final assembly
has part
drug used for treatment
sponsor
shares border with
this taxon is source of
diplomatic relation
domain of saint or deity
place of origin (Switzerland)
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Suffolk" . ?e_1 <NUTS_code> ?pv . ?pv <pred:value> "UKH14" . ?e_2 <pred:name> "Norfolk" . ?e_2 <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E10000020" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Suffolk
function: FilterStr
dependencies: 0
inputs: NUTS code
UKH14
function: Find
inputs: Norfolk
function: FilterStr
dependencies: 2
inputs: GSS code (2011)
E10000020
function: QueryRelation
dependencies: 1
3