Question: Does Chuck (the one whose exploitation visa number is 146638) or Robin Hood (the one whose production company is Relativity Media) have less duration ?
Choices:
Chuck
The Fifth Element
A Prairie Home Companion
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
Training Day
Robin Hood
Pleasantville
Talk to Her
Program:
function: Find
inputs: Chuck
function: FilterStr
dependencies: 0
inputs: exploitation visa number
146638
function: Find
inputs: Relativity Media
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: Robin Hood
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chuck" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "146638" . } UNION { ?e <pred:name> "Robin Hood" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Relativity Media" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Chuck