Question: How many empires have the demonym bizantino or are replaced by Burkina Faso?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "empire" .  { ?e <demonym> ?pv . ?pv <pred:value> "bizantino" .  } UNION { ?e <replaced_by> ?e_1 . ?e_1 <pred:name> "Burkina Faso" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
bizantino
function: FilterConcept
dependencies: 1
inputs: empire
function: Find
inputs: Burkina Faso
function: Relate
dependencies: 3
inputs: replaced by
backward
function: FilterConcept
dependencies: 4
inputs: empire
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1