Question: How many musicians are named Hal Smith who died of natural causes or whose ISCO occupation code is 2453?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Hal Smith
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: musician
function: FindAll
function: FilterStr
dependencies: 6
inputs: ISCO occupation code
2453
function: FilterConcept
dependencies: 7
inputs: musician
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musician" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Hal Smith" . ?e_1 <manner_of_death> ?e_2 . ?e_2 <pred:name> "natural causes" .  } UNION { ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "2453" .  } }
Answer: 2