Question: Which movie is shorter, Annapolis (the one whose title is Annapolis) or Cinema Paradiso?
Choices:
Rebecca
Pleasantville
Training Day
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
Annapolis
The Towering Inferno
Cinema Paradiso
Program:
function: Find
inputs: Annapolis
function: FilterStr
dependencies: 0
inputs: title
Annapolis
function: Find
inputs: Cinema Paradiso
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Annapolis" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Annapolis" . } UNION { ?e <pred:name> "Cinema Paradiso" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Annapolis