Question: Which Dutch province contains The Hague since 1840 ?
Choices:
Utrecht
Drenthe
Gelderland
Zeeland
Limburg
Friesland
Overijssel
North Brabant
South Holland
Groningen
Program:
function: Find
inputs: The Hague
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: QFilterYear
dependencies: 1
inputs: start time
1840
=
function: FilterConcept
dependencies: 2
inputs: province of the Netherlands
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "The Hague" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1840 .  }
Answer: South Holland