Question: How many armies have the name AC for short and a member named Jonah Hex (who is a member of the Confederate States Army)?
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> "army" . ?e <short_name> ?pv . ?pv <pred:value> "AC" . ?e_1 <member_of> ?e . ?e_1 <pred:name> "Jonah Hex" . ?e_1 <member_of> ?e_2 . ?e_2 <pred:name> "Confederate States Army" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
AC
function: FilterConcept
dependencies: 1
inputs: army
function: Find
inputs: Confederate States Army
function: Relate
dependencies: 3
inputs: member of
backward
function: Find
inputs: Jonah Hex
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: member of
forward
function: FilterConcept
dependencies: 7
inputs: army
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0