Question: What is the connection between Edmonton (the one whose official name is Fort Edmonton) to Canada?
Choices:
material used
said to be the same as
Wikidata property
domain of saint or deity
afflicts
partially contains
country
properties for this type
industry
place served by transport hub
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Edmonton" . ?e_1 <official_name> ?pv . ?pv <pred:value> "Fort Edmonton" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Edmonton
function: FilterStr
dependencies: 0
inputs: official name
Fort Edmonton
function: Find
inputs: Canada
function: QueryRelation
dependencies: 1
2