Question: Does San Juan County (the one whose FIPS 6-4 (US counties) is 35045) or Fulton County (the one whose population is 926060) have less area?
Choices:
Lee County
Cass County
San Juan County
Greene County
Orange County
United States Virgin Islands
Kent County
Fulton County
African Union
Delaware County
Answer: Fulton County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Juan County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "35045" . } UNION { ?e <pred:name> "Fulton County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "926060"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: San Juan County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
35045
function: Find
inputs: Fulton County
function: FilterNum
dependencies: 2
inputs: population
926060
=
function: SelectBetween
dependencies: 1
3
inputs: area
less