Question: What number of Netherlands provinces have the Netherlands as their country?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" . ?e <country> ?e_1 . ?e_1 <pred:name> "Netherlands" .   }
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: Count
dependencies: 2