Question: How many Dutch municipalities serve as the narrative location of Machete (black and white) ?
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> "municipality of the Netherlands" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Machete" . ?e_1 <color> ?e_2 . ?e_2 <pred:name> "black-and-white" .   }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Machete
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: Count
dependencies: 5