Question: How is the officially named Lancaster related to Lancashire?
Choices:
located in the administrative territorial entity
lyrics by
said to be the same as
noble title
present in work
composer
permanent resident of
edition or translation of
country for sport
highest judicial authority
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lancaster" . ?e_1 <official_name> ?pv . ?pv <pred:value> "Lancaster" . ?e_2 <pred:name> "Lancashire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lancaster
function: FilterStr
dependencies: 0
inputs: official name
Lancaster
function: Find
inputs: Lancashire
function: QueryRelation
dependencies: 1
2