Question: How many fictional persons are involved in the war conflict that has South Vietnam as a participant?
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> "fictional human" . ?e <conflict> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "war" . ?e_1 <participant> ?e_2 . ?e_2 <pred:name> "South Vietnam" .   }
Program:
function: Find
inputs: South Vietnam
function: Relate
dependencies: 0
inputs: participant
backward
function: FilterConcept
dependencies: 1
inputs: war
function: Relate
dependencies: 2
inputs: conflict
backward
function: FilterConcept
dependencies: 3
inputs: fictional human
function: Count
dependencies: 4
Answer: 2