Question: Is the smaller area occupied by St. Louis County, with the capital Duluth, or Jackson County, designated by FIPS 6-4 (US counties) code 54035?
Choices:
Lee County
Orange County
Greene County
Cass County
Delaware County
Jackson County
African Union
St. Louis County
Kent County
Washoe County
Answer: Jackson County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Louis County" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Duluth" . } UNION { ?e <pred:name> "Jackson County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "54035" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Duluth
function: Relate
dependencies: 0
inputs: capital of
forward
function: Find
inputs: St. Louis County
function: And
dependencies: 1
2
function: Find
inputs: Jackson County
function: FilterStr
dependencies: 4
inputs: FIPS 6-4 (US counties)
54035
function: SelectBetween
dependencies: 3
5
inputs: area
less