Question: Does the shorter run-time belong to New Orleans, with Billie Holiday as a cast member, or Resident Evil, of the official website www.sonypictures.com/movies/residentevil?
Choices:
Rebecca
Talk to Her
A Prairie Home Companion
The Fifth Element
New Orleans
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
Resident Evil
Pleasantville
Program:
function: Find
inputs: Billie Holiday
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: New Orleans
function: And
dependencies: 1
2
function: Find
inputs: Resident Evil
function: FilterStr
dependencies: 4
inputs: official website
http://www.sonypictures.com/movies/residentevil/
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Orleans" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Billie Holiday" . } UNION { ?e <pred:name> "Resident Evil" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.sonypictures.com/movies/residentevil/" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Orleans