Question: Which one is higher in relation to sea level, Curitiba or San Marino (the one whose official website is http://www.sanmarinosite.com/castelli/sanmarino/) ?
Choices:
Cork
Santo Domingo
Kilkenny
Curitiba
San Marino
Chihuahua
Abidjan
Trieste
Kingston
Dundee
Answer: Curitiba
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Curitiba" . } UNION { ?e <pred:name> "San Marino" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.sanmarinosite.com/castelli/sanmarino/" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Curitiba
function: Find
inputs: San Marino
function: FilterStr
dependencies: 1
inputs: official website
http://www.sanmarinosite.com/castelli/sanmarino/
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater