Question: How many activities are identified by Universal Decimal Classification 316 or include the character Knuckles the Echidna?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" .  { ?e <Universal_Decimal_Classification> ?pv . ?pv <pred:value> "316" .  } UNION { ?e <characters> ?e_1 . ?e_1 <pred:name> "Knuckles the Echidna" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Universal Decimal Classification
316
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: Knuckles the Echidna
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: activity
function: Or
dependencies: 2
5
function: Count
dependencies: 6