Question: Which has less percent of water area, Arizona that is the filming location of Star Wars Episode VI: Return of the Jedi or Michigan?
Choices:
Arizona
New Mexico
Massachusetts
Michigan
Illinois
Iowa
New Jersey
California
Florida
Colorado
Program:
function: Find
inputs: Star Wars Episode VI: Return of the Jedi
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Arizona
function: And
dependencies: 1
2
function: Find
inputs: Michigan
function: SelectBetween
dependencies: 3
4
inputs: water as percent of area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Arizona" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Star Wars Episode VI: Return of the Jedi" .   } UNION { ?e <pred:name> "Michigan" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Arizona