Question: How many ethnic groups are war-participant representatives of Andrew Jackson (the one that founds Democratic Party)?
Choices: 0
1
2
3
4
5
6
7
8
9
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_2 <conflict> ?e_1 . ?e_2 <pred:name> "Andrew Jackson" . ?e_3 <founded_by> ?e_2 . ?e_3 <pred:name> "Democratic Party" .   }
Program:
function: Find
inputs: Democratic Party
function: Relate
dependencies: 0
inputs: founded by
forward
function: Find
inputs: Andrew Jackson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: conflict
forward
function: FilterConcept
dependencies: 4
inputs: war
function: Relate
dependencies: 5
inputs: participant
forward
function: FilterConcept
dependencies: 6
inputs: ethnic group
function: Count
dependencies: 7
Answer: 1