Question: Which area is larger, Amman or Tripoli (the one whose official website is http://www.tripoli.info)?
Choices:
Kilkenny
Kingston
Trieste
Bergen
Chihuahua
Tripoli
Amman
Dundee
Abidjan
Cork
Answer: Amman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amman" . } UNION { ?e <pred:name> "Tripoli" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.tripoli.info" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Amman
function: Find
inputs: Tripoli
function: FilterStr
dependencies: 1
inputs: official website
http://www.tripoli.info
function: SelectBetween
dependencies: 0
2
inputs: area
greater