Question: Which area has lower elevation above sea level, Naples (the one whose official website is http://www.comune.napoli.it) or Guadalajara (the one that is the twinned administrative body of San Jose)?
Choices:
Kingston
Trieste
Guadalajara
Santo Domingo
Dundee
Naples
Kilkenny
Chihuahua
Bergen
Abidjan
Program:
function: Find
inputs: Naples
function: FilterStr
dependencies: 0
inputs: official website
http://www.comune.napoli.it
function: Find
inputs: San Jose
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Guadalajara
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Naples" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.comune.napoli.it" . } UNION { ?e <pred:name> "Guadalajara" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "San Jose" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Naples