Question: How is Lancaster whose official name is Lancaster related to the United Kingdom?
Choices: has immediate cause
operating area
heritage designation
writing system
opposite of
country
copyright holder
filming location
famous people
platform
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lancaster" . ?e_1 <official_name> ?pv . ?pv <pred:value> "Lancaster" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lancaster
function: FilterStr
dependencies: 0
inputs: official name
Lancaster
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2
Answer: country