Question: How many kinds of scientists are distinct from physicians or are classified by ROME Occupation Code (v3) K2402?
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> "scientist" .  { ?e <different_from> ?e_1 . ?e_1 <pred:name> "physician" .  } UNION { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> "K2402" .  } }
Program:
function: Find
inputs: physician
function: Relate
dependencies: 0
inputs: different from
backward
function: FilterConcept
dependencies: 1
inputs: scientist
function: FindAll
function: FilterStr
dependencies: 3
inputs: ROME Occupation Code (v3)
K2402
function: FilterConcept
dependencies: 4
inputs: scientist
function: Or
dependencies: 2
5
function: Count
dependencies: 6