Question: What is the connection between the film 'Get Shorty' and the city Las Vegas which is 610 meters above sea level?
Choices:
followed by
owner of
narrative location
main subject
notable work
medical treatment
director
language of work or name
contributing factor of
filmography
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Get Shorty" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "American English" . ?e_2 <pred:name> "Las Vegas" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "610"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: American English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Get Shorty
function: And
dependencies: 1
2
function: Find
inputs: Las Vegas
function: FilterNum
dependencies: 4
inputs: elevation above sea level
610 metre
=
function: QueryRelation
dependencies: 3
5