Question: How many mathematics are involved with the field of statistician or whose Universal Decimal Classification is 511?
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> "mathematics" .  { ?e_1 <field_of_this_occupation> ?e . ?e_1 <pred:name> "statistician" .  } UNION { ?e <Universal_Decimal_Classification> ?pv . ?pv <pred:value> "511" .  } }
Program:
function: Find
inputs: statistician
function: Relate
dependencies: 0
inputs: field of this occupation
forward
function: FilterConcept
dependencies: 1
inputs: mathematics
function: FindAll
function: FilterStr
dependencies: 3
inputs: Universal Decimal Classification
511
function: FilterConcept
dependencies: 4
inputs: mathematics
function: Or
dependencies: 2
5
function: Count
dependencies: 6