Question: Is Donald Trump's (the one that is an ethnic group of White American) occupation's ROME Occuptation Code (v3) equal to C1503?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Donald Trump" . ?e_1 <ethnic_group> ?e_2 . ?e_2 <pred:name> "White American" .  ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> "C1503" .  }
Program:
function: Find
inputs: White American
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Donald Trump
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: occupation
function: QueryAttr
dependencies: 5
inputs: ROME Occupation Code (v3)
function: VerifyStr
dependencies: 6
inputs: C1503