Question: How many filmmaking occupations either have the ISCO occupation code of 2455 or has the Kingdom of the Netherlands as a property?
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> "filmmaking occupation" .  { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "2455" .  } UNION { ?e <properties_for_this_type> ?e_1 . ?e_1 <pred:name> "Kingdom of the Netherlands" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISCO occupation code
2455
function: FilterConcept
dependencies: 1
inputs: filmmaking occupation
function: Find
inputs: Kingdom of the Netherlands
function: Relate
dependencies: 3
inputs: properties for this type
backward
function: FilterConcept
dependencies: 4
inputs: filmmaking occupation
function: Or
dependencies: 2
5
function: Count
dependencies: 6