Question: Which is shorter in length, Jonah Hex, with the official website http://www.jonah-hex.com, or Collateral which stars Tom Cruise?
Choices:
Collateral
The Fifth Element
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
The Towering Inferno
Jonah Hex
Rebecca
Pleasantville
Talk to Her
Program:
function: Find
inputs: Jonah Hex
function: FilterStr
dependencies: 0
inputs: official website
http://www.jonah-hex.com
function: Find
inputs: Tom Cruise
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Collateral
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jonah Hex" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.jonah-hex.com" . } UNION { ?e <pred:name> "Collateral" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tom Cruise" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jonah Hex