Question: Does the television series shot in Ontario (the one whose inception time is 1867-07-01), have a start time before 2018?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Ontario" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:date> "1867-07-01"^^xsd:date . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2018 ) .  }
Program:
function: Find
inputs: Ontario
function: FilterDate
dependencies: 0
inputs: inception
1867-07-01
=
function: Relate
dependencies: 1
inputs: filming location
backward
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: start time
function: VerifyYear
dependencies: 4
inputs: 2018
<