Question: What is the link between Ipswich (whose elevation is 50 meters above sea level) and Australia (whose mandatory education minimum age is 5 years)?
Choices:
instrument
winner
successful candidate
indigenous to
opposite of
country
musical conductor
culture
currency
from fictional universe
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ipswich" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "50"^^xsd:double . ?e_2 <pred:name> "Australia" . ?e_2 <compulsory_education_(minimum_age)> ?pv_1 . ?pv_1 <pred:unit> "years old" . ?pv_1 <pred:value> "5"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ipswich
function: FilterNum
dependencies: 0
inputs: elevation above sea level
50 metre
=
function: Find
inputs: Australia
function: FilterNum
dependencies: 2
inputs: compulsory education (minimum age)
5 years old
=
function: QueryRelation
dependencies: 1
3