Question: How many historical countries bordering the European Union came about during a war?
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> "historical country" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "European Union" .  ?e <time_period> ?e_2 . ?e_2 <pred:name> "attack" .  }
Program:
function: Find
inputs: European Union
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: historical country
function: Find
inputs: attack
function: Relate
dependencies: 3
inputs: time period
backward
function: FilterConcept
dependencies: 4
inputs: historical country
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0