Question: What is the number of taxonomic ranks that are a part of genus or have the OSM tag or key Key:species?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "taxonomic rank" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> "genus" .  } UNION { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Key:species" .  } }
Program:
function: Find
inputs: genus
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: taxonomic rank
function: FindAll
function: FilterStr
dependencies: 3
inputs: OSM tag or key
Key:species
function: FilterConcept
dependencies: 4
inputs: taxonomic rank
function: Or
dependencies: 2
5
function: Count
dependencies: 6