Question: How many ethnic groups participated in the war that started on 1812-06-18?
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> "ethnic group" . ?e_1 <participant> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "war" . ?e_1 <start_time> ?pv . ?pv <pred:date> "1812-06-18"^^xsd:date .   }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: start time
1812-06-18
=
function: FilterConcept
dependencies: 1
inputs: war
function: Relate
dependencies: 2
inputs: participant
forward
function: FilterConcept
dependencies: 3
inputs: ethnic group
function: Count
dependencies: 4