Question: How many provinces of the Netherlands are named after a sea and have the capital Utrecht (whose postal code is 3546)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "sea" .  ?e_2 <capital_of> ?e . ?e_2 <pred:name> "Utrecht" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "3546" .  }
Program:
function: Find
inputs: sea
function: Relate
dependencies: 0
inputs: named after
backward
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: Find
inputs: Utrecht
function: FilterStr
dependencies: 3
inputs: postal code
3546
function: Relate
dependencies: 4
inputs: capital of
forward
function: FilterConcept
dependencies: 5
inputs: province of the Netherlands
function: And
dependencies: 2
6
function: Count
dependencies: 7