Question: How many ethnic groups are either White American or are part of Monaco?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: White American
function: Relate
dependencies: 0
inputs: has part
backward
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: Find
inputs: Monaco
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: ethnic group
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> "ethnic group" .  { ?e <has_part> ?e_1 . ?e_1 <pred:name> "White American" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Monaco" .  } }
Answer: 1