Question: When did New Brunswick, founded on 1784-08-16, first designate the Canadian dollar as its currency?
Choices:
1986-08-26
1990-01-01
1974-09-10
1867-07-01
1849-03-04
1631
2011-12-28
1901-10-25
2000-07-26
1991-09-17
Answer: 1867-07-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "New Brunswick" . ?e_1 <inception> ?pv . ?pv <pred:date> "1784-08-16"^^xsd:date . ?e_2 <pred:name> "Canadian dollar" . ?e_1 <currency> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <currency> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: New Brunswick
function: FilterDate
dependencies: 0
inputs: inception
1784-08-16
=
function: Find
inputs: Canadian dollar
function: QueryRelationQualifier
dependencies: 1
2
inputs: currency
start time