Question: The person identified by ISNI 0000 0000 3041 1370 is loyal to how many armies?
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> "army" . ?e_1 <allegiance> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0000 3041 1370" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 3041 1370
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: allegiance
forward
function: FilterConcept
dependencies: 3
inputs: army
function: Count
dependencies: 4