Question: How many professions have the ISCO occupation code 2221 or apply to jurisdiction over the United States of America?
Choices: 0
1
2
3
4
5
6
7
8
9
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> "2221" .  } UNION { ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> "United States of America" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISCO occupation code
2221
function: FilterConcept
dependencies: 1
inputs: profession
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 4
inputs: profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 6