Question: Which has less area, Madison County whose FIPS 6-4 (US counties) is 47113 or Falkirk whose FIPS 10-4 (countries and regions) is UKU9?
Choices:
Kent County
Madison County
Falkirk
Cass County
San Juan County
Greene County
Washoe County
Lee County
Delaware County
African Union
Answer: Falkirk
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madison County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "47113" . } UNION { ?e <pred:name> "Falkirk" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_2 . ?pv_2 <pred:value> "UKU9" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Madison County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
47113
function: Find
inputs: Falkirk
function: FilterStr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
UKU9
function: SelectBetween
dependencies: 1
3
inputs: area
less