Question: Which part of Watchmen, released on 2009-03-05, has a 162-minute run-time?
Choices:
medicine
Stark County
theatrical version
Bledsoe County
Clay County
feminine
Northern Ontario
public administration
Coffee County
Labrador
Answer: theatrical version
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Watchmen" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-03-05"^^xsd:date . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "162"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <duration> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Watchmen
function: FilterDate
dependencies: 0
inputs: publication date
2009-03-05
=
function: QueryAttrQualifier
dependencies: 1
inputs: duration
162 minute
applies to part