Question: How many professions do we know whose ISCO occupation code is 2111 or that were received by Steve Vai ?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" .  { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "2111" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Steve Vai" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISCO occupation code
2111
function: FilterConcept
dependencies: 1
inputs: profession
function: Find
inputs: Steve Vai
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6