Question: Which is shorter, action film Waterloo or Solaris whose official website is http://www.foxjapan.com/movies/solaris/intro.html?
Choices:
Waterloo
A Prairie Home Companion
Rebecca
Training Day
Talk to Her
Pleasantville
Curse of the Golden Flower
Solaris
The Hunchback of Notre Dame
The Fifth Element
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Waterloo
function: And
dependencies: 1
2
function: Find
inputs: Solaris
function: FilterStr
dependencies: 4
inputs: official website
http://www.foxjapan.com/movies/solaris/intro.html
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Waterloo" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" . } UNION { ?e <pred:name> "Solaris" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.foxjapan.com/movies/solaris/intro.html" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Solaris