Question: Which is longer: Neighbours, filmed in Montreal, or Aurora, whose title is Qualcosa di biondo?
Choices:
The Goodbye Girl
A Streetcar Named Desire
The Music Man
Shackleton
The Late Shift
All Quiet on the Western Front
A Christmas Carol
The Challenge
Neighbours
Aurora
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Neighbours
function: And
dependencies: 1
2
function: Find
inputs: Aurora
function: FilterStr
dependencies: 4
inputs: title
Qualcosa di biondo
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Neighbours" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Montreal" . } UNION { ?e <pred:name> "Aurora" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Qualcosa di biondo" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Aurora