Question: How many kinds of engineering have the Universal Decimal Classification 621.3 or are a component of computer science?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "engineering" .  { ?e <Universal_Decimal_Classification> ?pv . ?pv <pred:value> "621.3" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "computer science" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Universal Decimal Classification
621.3
function: FilterConcept
dependencies: 1
inputs: engineering
function: Find
inputs: computer science
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: engineering
function: Or
dependencies: 2
5
function: Count
dependencies: 6