Question: What is the number of professions whose ROME Occupation Code (v3) is L1508 or native title is the United States Secretary of State?
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> "profession" .  { ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> "L1508" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "United States Secretary of State" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ROME Occupation Code (v3)
L1508
function: FilterConcept
dependencies: 1
inputs: profession
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
United States Secretary of State
function: FilterConcept
dependencies: 4
inputs: profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6