Question: How many researchers have either the occupation of Harry Shum (born 1966) or have the KldB -2010 occupation code of 41284?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "researcher" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Harry Shum" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 1966 .  } UNION { ?e <KldB-2010_occupation_code> ?pv . ?pv <pred:value> "41284" .  } }
Program:
function: Find
inputs: Harry Shum
function: FilterYear
dependencies: 0
inputs: date of birth
1966
=
function: Relate
dependencies: 1
inputs: occupation
forward
function: FilterConcept
dependencies: 2
inputs: researcher
function: FindAll
function: FilterStr
dependencies: 4
inputs: KldB-2010 occupation code
41284
function: FilterConcept
dependencies: 5
inputs: researcher
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 2