Question: How many states are partially contained by Eastern Europe or a territory claimed by Kiev?
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> "state" .  { ?e_1 <partially_contains> ?e . ?e_1 <pred:name> "Eastern Europe" .  } UNION { ?e_1 <territory_claimed_by> ?e . ?e_1 <pred:name> "Kiev" .  } }
Program:
function: Find
inputs: Eastern Europe
function: Relate
dependencies: 0
inputs: partially contains
forward
function: FilterConcept
dependencies: 1
inputs: state
function: Find
inputs: Kiev
function: Relate
dependencies: 3
inputs: territory claimed by
forward
function: FilterConcept
dependencies: 4
inputs: state
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2