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
Answer: Paris
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
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