Question: what is the number of groups of organisms known by one particular name that has a color black or that has a catalog code of 122?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: Find
inputs: black
function: Relate
dependencies: 0
inputs: color
backward
function: FilterConcept
dependencies: 1
inputs: group of organisms known by one particular common name
function: FindAll
function: FilterStr
dependencies: 3
inputs: catalog code
122
function: FilterConcept
dependencies: 4
inputs: group of organisms known by one particular common name
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> "group of organisms known by one particular common name" .  { ?e <color> ?e_1 . ?e_1 <pred:name> "black" .  } UNION { ?e <catalog_code> ?pv . ?pv <pred:value> "122" .  } }
Answer: 3