Question: Which one, Hollywood (the one whose official website is http://www.hollywoodfl.org) or Quincy (the one that is located in or next to Mississippi River), has less area?
Choices:
Greenville
Boulder
Oakland
Waukegan
Columbus
Quincy
Compton
Franklin
Lansing
New Haven
Program:
function: Find
inputs: Hollywood
function: FilterStr
dependencies: 0
inputs: official website
http://www.hollywoodfl.org
function: Find
inputs: Mississippi River
function: Relate
dependencies: 2
inputs: located in or next to body of water
backward
function: Find
inputs: Quincy
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hollywood" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.hollywoodfl.org" . } UNION { ?e <pred:name> "Quincy" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Mississippi River" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Quincy