Question: How many ethnic groups with demonym Ιταλίδα include solider Jonah Hex as a member?
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 <demonym> ?pv . ?pv <pred:value> "Ιταλίδα" . ?e_1 <member_of> ?e . ?e_1 <pred:name> "Jonah Hex" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "soldier" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Ιταλίδα
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: Find
inputs: soldier
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Jonah Hex
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: member of
forward
function: FilterConcept
dependencies: 7
inputs: ethnic group
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0