Question: Does Kansas, where Mars Attacks! was filmed, or Mississippi, with the motto: Virtute et armis, have the smaller water area percentage?
Choices:
Colorado
New Jersey
Iowa
New Mexico
Kansas
California
Florida
Hawaii
Massachusetts
Mississippi
Answer: Kansas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kansas" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Mars Attacks!" . } UNION { ?e <pred:name> "Mississippi" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> "Virtute et armis" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mars Attacks!
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Kansas
function: And
dependencies: 1
2
function: Find
inputs: Mississippi
function: FilterStr
dependencies: 4
inputs: motto text
Virtute et armis
function: SelectBetween
dependencies: 3
5
inputs: water as percent of area
less