Question: How many unitary states are either a member of the United Nations or were replaced by Ukraine?
Choices:
10
11
12
13
14
15
16
17
18
19
Program:
function: Find
inputs: United Nations
function: Relate
dependencies: 0
inputs: member of
backward
function: FilterConcept
dependencies: 1
inputs: unitary state
function: Find
inputs: Ukraine
function: Relate
dependencies: 3
inputs: replaces
forward
function: FilterConcept
dependencies: 4
inputs: unitary state
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> "unitary state" .  { ?e <member_of> ?e_1 . ?e_1 <pred:name> "United Nations" .  } UNION { ?e_1 <replaces> ?e . ?e_1 <pred:name> "Ukraine" .  } }
Answer: 17