Question: Regarding silent films, whose narrative location is Paris (whose postal code is 75002), which one's running time is the longest ?
Choices:
Pleasantville
Paris
The Hunchback of Notre Dame
Little Women
Talk to Her
A Prairie Home Companion
Hamlet
The Last of the Mohicans
Rebecca
The Scarlet Letter
Answer: The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "silent film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Paris" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "75002" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Paris
function: FilterStr
dependencies: 0
inputs: postal code
75002
function: Relate
dependencies: 1
inputs: narrative location
backward
function: FilterConcept
dependencies: 2
inputs: silent film
function: SelectAmong
dependencies: 3
inputs: duration
largest