Question: Which city in Pennsylvania that is headed by a major has the largest area?
Choices:
Wilkes-Barre
Philadelphia
Greensburg
Easton
Pittsburgh
Chester
Bethlehem
Harrisburg
York
Erie
Answer: Philadelphia
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "mayor" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: SelectAmong
dependencies: 2
inputs: area
largest