Question: Tell me the relation between Metropolis Records and Philadelphia(with 12 metre elevation)
Choices:
color
derivative work
headquarters location
operator
facet of
notable work
hair color
mountain range
currency
screenwriter
Program:
function: Find
inputs: Metropolis Records
function: Find
inputs: Philadelphia
function: FilterNum
dependencies: 1
inputs: elevation above sea level
12 metre
=
function: QueryRelation
dependencies: 0
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Metropolis Records" . ?e_2 <pred:name> "Philadelphia" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "12"^^xsd:double . ?e_1 ?p ?e_2 .  }
Answer: headquarters location