Question: How many forms of government are the origin country of Resident Evil: Afterlife or have a diplomatic relation with Serbia?
Choices:
8
9
10
11
12
13
14
15
16
17
Program:
function: Find
inputs: Resident Evil: Afterlife
function: Relate
dependencies: 0
inputs: country of origin
forward
function: FilterConcept
dependencies: 1
inputs: form of government
function: Find
inputs: Serbia
function: Relate
dependencies: 3
inputs: diplomatic relation
forward
function: FilterConcept
dependencies: 4
inputs: form of government
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" .  { ?e_1 <country_of_origin> ?e . ?e_1 <pred:name> "Resident Evil: Afterlife" .  } UNION { ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Serbia" .  } }
Answer: 15