Question: What is the relationship between Grimsby (the one whose local dialing code is 01472) and the United Kingdom?
Choices:
grants
located in time zone
continent
screenwriter
commissioned by
country
significant person
voice actor
residence
depicted by
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Grimsby" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "01472" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Grimsby
function: FilterStr
dependencies: 0
inputs: local dialing code
01472
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2