Question: Which movie is longer, How Green Was My Valley or Robin Hood (the one whose duration is 30 minute)?
Choices:
The Fifth Element
The Towering Inferno
Robin Hood
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
Training Day
How Green Was My Valley
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: How Green Was My Valley
function: Find
inputs: Robin Hood
function: FilterNum
dependencies: 1
inputs: duration
30 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "How Green Was My Valley" . } UNION { ?e <pred:name> "Robin Hood" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "30"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: How Green Was My Valley