Question: Which is longer, I, Robot whose official website is http://movies.foxjapan.com/irobot/ or Little Nicky published on 2000-01-01?
Choices:
I, Robot
Curse of the Golden Flower
Little Nicky
A Prairie Home Companion
Training Day
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Talk to Her
Answer: I, Robot
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "I, Robot" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://movies.foxjapan.com/irobot/" . } UNION { ?e <pred:name> "Little Nicky" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2000-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: I, Robot
function: FilterStr
dependencies: 0
inputs: official website
http://movies.foxjapan.com/irobot/
function: Find
inputs: Little Nicky
function: FilterDate
dependencies: 2
inputs: publication date
2000-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater