Question: Which area is smaller, Northampton County (the one whose inception time is 1752-03-07) or Fulton County (the one that is an administrative division of Pennsylvania)?
Choices:
Franklin County
Fulton County
Warren County
York County
Northampton County
Allegheny County
Bucks County
Fayette County
Cumberland County
Lehigh County
Answer: Northampton County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Northampton County" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1752-03-07"^^xsd:date . } UNION { ?e <pred:name> "Fulton County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Pennsylvania" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Northampton County
function: FilterDate
dependencies: 0
inputs: inception
1752-03-07
=
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: Find
inputs: Fulton County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less