Question: Does the profession that is the occupation of Chris Carter (the one that has the occupation of psychologist), have a ROME Occupation Code (v3) of M1205 ?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Chris Carter" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "psychologist" .  ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> "M1205" .  }
Program:
function: Find
inputs: psychologist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Chris Carter
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: profession
function: QueryAttr
dependencies: 5
inputs: ROME Occupation Code (v3)
function: VerifyStr
dependencies: 6
inputs: M1205
Answer: no