Question: What is the connection between Billings to Helena (the one whose elevation (above sea level) is 1181 metre)?
Choices:
geography of topic
headquarters location
member of sports team
member of
shares border with
substitute/deputy/replacement of office/officeholder
part of
film regional debut venue
office held by head of government
genre
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Billings" . ?e_2 <pred:name> "Helena" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "1181"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Billings
function: Find
inputs: Helena
function: FilterNum
dependencies: 1
inputs: elevation above sea level
1181 metre
=
function: QueryRelation
dependencies: 0
2