Question: What is the number of scientists that is the main subject of Ghost World or that have an ISCO occupation code of 2122
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "scientist" .  { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Ghost World" .  } UNION { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "2122" .  } }
Program:
function: Find
inputs: Ghost World
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: scientist
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISCO occupation code
2122
function: FilterConcept
dependencies: 4
inputs: scientist
function: Or
dependencies: 2
5
function: Count
dependencies: 6