Question: Does the profession of James Brown (whose CANTIC-ID is a1151131x) have an ISCO occupation code of 3431 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "James Brown" . ?e_1 <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> "a1151131x" . ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "3431" .  }
Program:
function: Find
inputs: James Brown
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a1151131x
function: Relate
dependencies: 1
inputs: occupation
forward
function: FilterConcept
dependencies: 2
inputs: profession
function: QueryAttr
dependencies: 3
inputs: ISCO occupation code
function: VerifyStr
dependencies: 4
inputs: 3431