Question: Is the SOC Code (2010) of 29-1067 correct for the profession in which John Stephenson, who died of natural causes, was occupied?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "John Stephenson" . ?e_1 <manner_of_death> ?e_2 . ?e_2 <pred:name> "natural causes" .  ?e <SOC_Code_(2010)> ?pv . ?pv <pred:value> "29-1067" .  }
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: John Stephenson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: profession
function: QueryAttr
dependencies: 5
inputs: SOC Code (2010)
function: VerifyStr
dependencies: 6
inputs: 29-1067