Question: How many democracies are the work location of the person whose ISNI is 0000 0000 7861 437X?
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> "democracy" . ?e_1 <work_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0000 7861 437X" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 7861 437X
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: work location
forward
function: FilterConcept
dependencies: 3
inputs: democracy
function: Count
dependencies: 4