Question: What is the name of the province in the Netherlands that has the capital city with the official name Haarlem?
Choices:
Friesland
South Holland
North Holland
Limburg
Zeeland
Utrecht
Drenthe
Groningen
North Brabant
Overijssel
Answer: North Holland
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 <official_name> ?pv . ?pv <pred:value> "Haarlem" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Haarlem
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: capital of
forward
function: FilterConcept
dependencies: 3
inputs: province of the Netherlands
function: What
dependencies: 4