Question: Which silent movie set in Paris, birthplace of Isabelle Huppert, has the longest run-time?
Choices:
Rebecca
Talk to Her
Little Women
The Last of the Mohicans
The Hunchback of Notre Dame
Earth
A Prairie Home Companion
The Scarlet Letter
Hamlet
Paris
Program:
function: Find
inputs: Isabelle Huppert
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Paris
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: silent film
function: SelectAmong
dependencies: 5
inputs: duration
largest
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_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Isabelle Huppert" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Hunchback of Notre Dame