Question: How many profession were created before 1867 or whose ISCO occupation code is 2451?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1867 ) .  } UNION { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "2451" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1867
<
function: FilterConcept
dependencies: 1
inputs: profession
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISCO occupation code
2451
function: FilterConcept
dependencies: 4
inputs: profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 5