Question: Which US city is the capital of Frederick County, population 234174?
Choices:
Oakland
Winston-Salem
New Haven
Franklin
Columbus
Boulder
Frederick
Sandusky
Compton
Waukegan
Program:
function: Find
inputs: Frederick County
function: FilterNum
dependencies: 0
inputs: population
234174
=
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3
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:name> "Frederick County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "234174"^^xsd:double .   }
Answer: Frederick