Question: Is the larger area occupied by Louisiana, population 4670724, or Texas, which includes the administrative division McLennan County?
Choices:
Massachusetts
Louisiana
Texas
Colorado
New Jersey
Iowa
Illinois
Florida
Hawaii
New Mexico
Answer: Texas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Louisiana" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4670724"^^xsd:double . } UNION { ?e <pred:name> "Texas" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "McLennan County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Louisiana
function: FilterNum
dependencies: 0
inputs: population
4670724
=
function: Find
inputs: McLennan County
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
backward
function: Find
inputs: Texas
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater