Question: How many researchers are the occupation of Aristotle or have the ISCO occupation code 2111?
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> "researcher" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Aristotle" .  } UNION { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "2111" .  } }
Program:
function: Find
inputs: Aristotle
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: researcher
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISCO occupation code
2111
function: FilterConcept
dependencies: 4
inputs: researcher
function: Or
dependencies: 2
5
function: Count
dependencies: 6