Question: What number of researchers have an SOC Code (2010) of 19-2012 or share an occupation with the architect Christopher Wren?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: SOC Code (2010)
19-2012
function: FilterConcept
dependencies: 1
inputs: researcher
function: Find
inputs: architect
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Christopher Wren
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: occupation
forward
function: FilterConcept
dependencies: 7
inputs: researcher
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "researcher" .  { ?e <SOC_Code_(2010)> ?pv . ?pv <pred:value> "19-2012" .  } UNION { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Christopher Wren" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "architect" .  } }
Answer: 2