Question: Is the smaller area occupied by San Mateo or by Lawrence, of the official website www.cityoflawrence.com?
Choices:
Columbus
Lawrence
San Mateo
Greenville
New Haven
Compton
Lansing
Boulder
Franklin
Waukegan
Program:
function: Find
inputs: San Mateo
function: Find
inputs: Lawrence
function: FilterStr
dependencies: 1
inputs: official website
http://www.cityoflawrence.com/
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Mateo" . } UNION { ?e <pred:name> "Lawrence" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cityoflawrence.com/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lawrence