Question: Which movie is longer, Changeling (the one whose official website is http://www.changelingmovie.net) or Hulk (the one whose release region is Bahrain)?
Choices:
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Training Day
Changeling
Talk to Her
Pleasantville
The Fifth Element
Hulk
A Prairie Home Companion
Program:
function: Find
inputs: Changeling
function: FilterStr
dependencies: 0
inputs: official website
http://www.changelingmovie.net
function: Find
inputs: Bahrain
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: Hulk
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Changeling" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.changelingmovie.net" . } UNION { ?e <pred:name> "Hulk" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Bahrain" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Changeling