Question: Is 540 the IAB code of science fiction (the one that is the genre of Star Trek: Deep Space Nine?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "science fiction" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Star Trek: Deep Space Nine" .  ?e <IAB_code> ?pv . ?pv <pred:value> "540" .  }
Program:
function: Find
inputs: Star Trek: Deep Space Nine
function: Relate
dependencies: 0
inputs: genre
forward
function: Find
inputs: science fiction
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: IAB code
function: VerifyStr
dependencies: 4
inputs: 540