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