Question: Which movie is longer, Cowboys & Aliens or Taxi (published 1998-08-20)?
Choices:
The Fifth Element
Taxi
The Towering Inferno
Rebecca
Talk to Her
A Prairie Home Companion
Cowboys & Aliens
Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
Program:
function: Find
inputs: Cowboys & Aliens
function: Find
inputs: Taxi
function: FilterDate
dependencies: 1
inputs: publication date
1998-08-20
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cowboys & Aliens" . } UNION { ?e <pred:name> "Taxi" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1998-08-20"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cowboys & Aliens