Question: What is the connection between To Kill a Mockingbird (the one that has Gregory Peck as a cast member) to Alabama (the one whose elevation (above sea level) is 152 metre)?
Choices: takes place in fictional universe
narrative location
contributing factor of
license
conflict
organisation directed from the office or person
product or material produced
present in work
sibling
home port
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "To Kill a Mockingbird" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Gregory Peck" . ?e_2 <pred:name> "Alabama" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "152"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gregory Peck
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: To Kill a Mockingbird
function: And
dependencies: 1
2
function: Find
inputs: Alabama
function: FilterNum
dependencies: 4
inputs: elevation above sea level
152 metre
=
function: QueryRelation
dependencies: 3
5
Answer: narrative location