Question: Devon, GSS code (2011) E10000008, has what connection to the UK?
Choices:
located on terrain feature
film distribute region
sponsor
newspaper format
famous people
theme music
record label
country
health specialty
operating area
Program:
function: Find
inputs: Devon
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E10000008
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Devon" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> "E10000008" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country