Question: Which movie is longer, Ocean's Twelve or Van Helsing (the one whose official website is http://www.vanhelsing.net/)?
Choices:
Talk to Her
The Fifth Element
Ocean's Twelve
A Prairie Home Companion
Van Helsing
Rebecca
Training Day
Curse of the Golden Flower
The Towering Inferno
Pleasantville
Program:
function: Find
inputs: Ocean's Twelve
function: Find
inputs: Van Helsing
function: FilterStr
dependencies: 1
inputs: official website
http://www.vanhelsing.net/
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ocean's Twelve" . } UNION { ?e <pred:name> "Van Helsing" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.vanhelsing.net/" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Van Helsing