Question: Which has less area, Pittsburgh that is the narrative location of Groundhog Day or Reading that is the capital of Berks County?
Choices:
York
Pittsburgh
Johnstown
Harrisburg
Wilkes-Barre
Philadelphia
Reading
Greensburg
Chester
Bethlehem
Answer: Reading
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pittsburgh" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Groundhog Day" .   } UNION { ?e <pred:name> "Reading" . ?e <capital_of> ?e_2 . ?e_2 <pred:name> "Berks County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Groundhog Day
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Pittsburgh
function: And
dependencies: 1
2
function: Find
inputs: Berks County
function: Relate
dependencies: 4
inputs: capital of
backward
function: Find
inputs: Reading
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less