Question: Which is shorter, Julius Caesar in black-and-white or Tuvalu (exploitation visa number 100781)?
Choices:
Rebecca
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Training Day
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Tuvalu
Julius Caesar
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Julius Caesar
function: And
dependencies: 1
2
function: Find
inputs: Tuvalu
function: FilterStr
dependencies: 4
inputs: exploitation visa number
100781
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julius Caesar" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" . } UNION { ?e <pred:name> "Tuvalu" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "100781" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tuvalu