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