Question: The War of the Spanish Succession took place in how many different geographic regions?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e_1 <location> ?e . ?e_1 <pred:name> "War of the Spanish Succession" .   }
Program:
function: Find
inputs: War of the Spanish Succession
function: Relate
dependencies: 0
inputs: location
forward
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Count
dependencies: 2