Question: When did Montana (whose area is 381154 square kilometres) start sharing a border with Saskatchewan (whose demonym is Saskatchewanaise)?
Choices:
1851
1974-09-07
1981-01-20
1954-01-01
1946-11-01
1964-10-10
2011-01-03
1905-09-01
1945-07-06
2000-03-07
Answer: 1905-09-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Montana" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "381154"^^xsd:double . ?e_2 <pred:name> "Saskatchewan" . ?e_2 <demonym> ?pv_1 . ?pv_1 <pred:value> "Saskatchewanaise" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Montana
function: FilterNum
dependencies: 0
inputs: area
381154 square kilometre
=
function: Find
inputs: Saskatchewan
function: FilterStr
dependencies: 2
inputs: demonym
Saskatchewanaise
function: QueryRelationQualifier
dependencies: 1
3
inputs: shares border with
start time