Question: Does the longer running time belong to Around the World in 80 Days, filmed in Macau, or Quincy, which debuted on 1976-10-03?
Choices:
Battlestar Galactica
Edge of Darkness
The Diary of Anne Frank
Quincy
Around the World in 80 Days
The Stand
George Washington
The Civil War
The Pacific
The Ten Commandments
Answer: Around the World in 80 Days
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Around the World in 80 Days" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Macau" . } UNION { ?e <pred:name> "Quincy" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1976-10-03"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Macau
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 1
2
function: Find
inputs: Quincy
function: FilterDate
dependencies: 4
inputs: start time
1976-10-03
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater