Question: The Netherlands municipality bordering Delft includes how many cities?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <contains_settlement> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "municipality of the Netherlands" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Delft" .   }
Program:
function: Find
inputs: Delft
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: Relate
dependencies: 2
inputs: contains settlement
forward
function: FilterConcept
dependencies: 3
inputs: city
function: Count
dependencies: 4
Answer: 1