Question: Between Barrie and the Surrey associated with the website http://www.surrey.ca/default.htm, which takes up a smaller area?
Choices:
Santo Domingo
Barrie
Kilkenny
Bergen
Abidjan
Dundee
Trieste
Kingston
Cork
Chihuahua
Answer: Barrie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barrie" . } UNION { ?e <pred:name> "Surrey" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.surrey.ca/default.htm" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Barrie
function: Find
inputs: Surrey
function: FilterStr
dependencies: 1
inputs: official website
http://www.surrey.ca/default.htm
function: SelectBetween
dependencies: 0
2
inputs: area
less