Question: Which area is larger, Franklin County (the one whose population is 26005) or Bristol County (the one that is a part of Rhode Island)?
Choices:
Franklin County
Orange County
African Union
Kent County
Washoe County
Bristol County
Delaware County
Cass County
Greene County
Lee County
Answer: Franklin County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Franklin County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "26005"^^xsd:double . } UNION { ?e <pred:name> "Bristol County" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Rhode Island" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Franklin County
function: FilterNum
dependencies: 0
inputs: population
26005
=
function: Find
inputs: Rhode Island
function: Relate
dependencies: 2
inputs: part of
backward
function: Find
inputs: Bristol County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater