Question: Which movie is longer, Paris (the one whose official website is http://www.lefilm-paris.com/) or The 40-Year-Old Virgin?
Choices:
The Towering Inferno
Curse of the Golden Flower
Talk to Her
The 40-Year-Old Virgin
The Fifth Element
Training Day
Pleasantville
Paris
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: Paris
function: FilterStr
dependencies: 0
inputs: official website
http://www.lefilm-paris.com/
function: Find
inputs: The 40-Year-Old Virgin
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paris" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.lefilm-paris.com/" . } UNION { ?e <pred:name> "The 40-Year-Old Virgin" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Paris