Question: Is the smaller area taken up by Ōsaka or by Worcester, of the official website www.worcester.gov.uk?
Choices:
Kingston
Kilkenny
Dundee
Cork
Ōsaka
Abidjan
Bergen
Chihuahua
Worcester
Trieste
Program:
function: Find
inputs: Ōsaka
function: Find
inputs: Worcester
function: FilterStr
dependencies: 1
inputs: official website
http://www.worcester.gov.uk/
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ōsaka" . } UNION { ?e <pred:name> "Worcester" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.worcester.gov.uk/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Worcester