Question: What is the number of civil wars that have location the sovereign state that has Anthony Wong as a citizen (the one who is a People's Republic of China citizen)
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> "civil war" . ?e <location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Anthony Wong" . ?e_2 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "People's Republic of China" .   }
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Anthony Wong
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of citizenship
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Relate
dependencies: 5
inputs: location
backward
function: FilterConcept
dependencies: 6
inputs: civil war
function: Count
dependencies: 7
Answer: 1