Question: How many Netherlands provinces are located in the Netherlands and have the Twitter username provutrecht?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Netherlands" .  ?e <Twitter_username> ?pv . ?pv <pred:value> "provutrecht" .  }
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
provutrecht
function: FilterConcept
dependencies: 4
inputs: province of the Netherlands
function: And
dependencies: 2
5
function: Count
dependencies: 6