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