Question: Which among the states of the United States, with the narrative location of Marley & Me, has the smallest area?
Choices:
California
New Jersey
Florida
Iowa
Illinois
New Mexico
Massachusetts
Pennsylvania
Hawaii
Kansas
Program:
function: Find
inputs: Marley & Me
function: Relate
dependencies: 0
inputs: narrative location
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Marley & Me" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pennsylvania