Question: How many geographic regions are a common property of horse or have citizens who are called Africain people?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: horse
function: Relate
dependencies: 0
inputs: properties for this type
forward
function: FilterConcept
dependencies: 1
inputs: geographic region
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
Africain
function: FilterConcept
dependencies: 4
inputs: geographic region
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> "geographic region" .  { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "horse" .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "Africain" .  } }
Answer: 2