Question: Is Wanted published on 2009-01-01 or Showgirls longer?
Choices:
Wanted
The Hunchback of Notre Dame
The Fifth Element
Showgirls
Talk to Her
The Towering Inferno
A Prairie Home Companion
Pleasantville
Rebecca
Curse of the Golden Flower
Answer: Wanted
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wanted" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-01-01"^^xsd:date . } UNION { ?e <pred:name> "Showgirls" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wanted
function: FilterDate
dependencies: 0
inputs: publication date
2009-01-01
=
function: Find
inputs: Showgirls
function: SelectBetween
dependencies: 1
2
inputs: duration
greater