Question: What is the U.S. city that is the capital of the Massachusetts county whose area is equal to 192 square kilometres?
Choices:
Covington
Cambridge
Columbus
Salem
Worcester
Northampton
Springfield
Franklin
Lowell
Los Angeles
Answer: Worcester
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Massachusetts" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "192"^^xsd:double .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
192 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: county of Massachusetts
function: Relate
dependencies: 2
inputs: capital
forward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4