Question: What Netherlands province's capital is the city that is the capital of Groningen (whose population is 200997)?
Choices:
Friesland
South Holland
Utrecht
North Brabant
North Holland
Groningen
Zeeland
Drenthe
Overijssel
Limburg
Answer: Groningen
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Groningen" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "200997"^^xsd:double .   }
Program:
function: Find
inputs: Groningen
function: FilterNum
dependencies: 0
inputs: population
200997
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: province of the Netherlands
function: What
dependencies: 5