Question: Tell me the relationship between Durham (which has an official website of http://www.durham.ca/) to Canada
Choices:
student of
continent
cites
parent club
child
manner of death
convicted of
commissioned by
country
soundtrack album
Program:
function: Find
inputs: Durham
function: FilterStr
dependencies: 0
inputs: official website
http://www.durham.ca/
function: Find
inputs: Canada
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Durham" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.durham.ca/" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Answer: country