Question: Which has a greater area, Pretoria or Franklin County (whose FIPS 6-4 (US counties) is 20059)?
Choices:
African Union
Greene County
Pretoria
Franklin County
Orange County
Cass County
Kent County
San Juan County
Washoe County
Delaware County
Answer: Franklin County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pretoria" . } UNION { ?e <pred:name> "Franklin County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "20059" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Pretoria
function: Find
inputs: Franklin County
function: FilterStr
dependencies: 1
inputs: FIPS 6-4 (US counties)
20059
function: SelectBetween
dependencies: 0
2
inputs: area
greater