Question: How many groups of organisms are known by one particular common name are a female organism or have the color of garnet?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "group of organisms known by one particular common name" .  { ?e <sex_or_gender> ?e_1 . ?e_1 <pred:name> "female organism" .  } UNION { ?e <color> ?e_1 . ?e_1 <pred:name> "garnet" .  } }
Program:
function: Find
inputs: female organism
function: Relate
dependencies: 0
inputs: sex or gender
backward
function: FilterConcept
dependencies: 1
inputs: group of organisms known by one particular common name
function: Find
inputs: garnet
function: Relate
dependencies: 3
inputs: color
backward
function: FilterConcept
dependencies: 4
inputs: group of organisms known by one particular common name
function: Or
dependencies: 2
5
function: Count
dependencies: 6