Question: What is Hamilton's (publication date is 1998-01-01) length of time?
Choices:
112 minute
118 minute
229 minute
3108 second
189 minute
4512 second
70 minute
81 minute
197 minute
236 minute
Answer: 118 minute
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Hamilton" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1998-01-01"^^xsd:date . ?e <duration> ?pv .  }
Program:
function: Find
inputs: Hamilton
function: FilterDate
dependencies: 0
inputs: publication date
1998-01-01
=
function: QueryAttr
dependencies: 1
inputs: duration