Question: Which movie is longer, Back to the Future (the one whose duration is 25 minute) or Battle Creek (the one whose official website is http://www.cbs.com/shows/battle-creek/)?
Choices:
Back to the Future
Six Feet Under
Robot Chicken
Bleak House
Phineas and Ferb
Seinfeld
Saturday Night's Main Event
Battle Creek
Dancing with the Stars
Game of Thrones
Program:
function: Find
inputs: Back to the Future
function: FilterNum
dependencies: 0
inputs: duration
25 minute
=
function: Find
inputs: Battle Creek
function: FilterStr
dependencies: 2
inputs: official website
http://www.cbs.com/shows/battle-creek/
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Back to the Future" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "25"^^xsd:double . } UNION { ?e <pred:name> "Battle Creek" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.cbs.com/shows/battle-creek/" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Battle Creek