Question: Which area is smaller, Amritsar or Valencia (the one whose official website is http://www.alcaldiadevalencia.gov.ve/)?
Choices:
Abidjan
Trieste
Cork
Bergen
Valencia
Kingston
Santo Domingo
Chihuahua
Amritsar
Dundee
Program:
function: Find
inputs: Amritsar
function: Find
inputs: Valencia
function: FilterStr
dependencies: 1
inputs: official website
http://www.alcaldiadevalencia.gov.ve/
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amritsar" . } UNION { ?e <pred:name> "Valencia" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.alcaldiadevalencia.gov.ve/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Valencia