Question: Natalie Wood has the occupation of the curator Is her residence on the island its demonym as same as Trinidadian?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "island" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Natalie Wood" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "curator" .  ?e <demonym> ?pv . ?pv <pred:value> "trinidadian" .  }
Program:
function: Find
inputs: curator
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Natalie Wood
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: island
function: QueryAttr
dependencies: 5
inputs: demonym
function: VerifyStr
dependencies: 6
inputs: trinidadian