Question: Is the SOC Code (2010) of the profession that is the occupation of James Taylor (whose date of birth is 1963-01-01) equal to 15-1131?
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 Taylor" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1963-01-01"^^xsd:date . ?e <SOC_Code_(2010)> ?pv . ?pv <pred:value> "15-1131" .  }
Program:
function: Find
inputs: James Taylor
function: FilterDate
dependencies: 0
inputs: date of birth
1963-01-01
=
function: Relate
dependencies: 1
inputs: occupation
forward
function: FilterConcept
dependencies: 2
inputs: profession
function: QueryAttr
dependencies: 3
inputs: SOC Code (2010)
function: VerifyStr
dependencies: 4
inputs: 15-1131