Question: Tell me the relation between Niagara Falls (which was incepted on 1903-06-12) to Canada
Choices:
family name
manner of death
country
librettist
superhuman feature or ability
has part
highest judicial authority
official symbol
depicts
set in period
Program:
function: Find
inputs: Niagara Falls
function: FilterDate
dependencies: 0
inputs: inception
1903-06-12
=
function: Find
inputs: Canada
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Niagara Falls" . ?e_1 <inception> ?pv . ?pv <pred:date> "1903-06-12"^^xsd:date . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Answer: country