Question: What is the IAB code for science fiction (the one that is the genre of Batman Beyond)?
Choices:
1339
652
1331
1224
212
1070
1092
1159
1205
1187
Answer: 652
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "science fiction" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Batman Beyond" .  ?e <IAB_code> ?pv .  }
Program:
function: Find
inputs: Batman Beyond
function: Relate
dependencies: 0
inputs: genre
forward
function: Find
inputs: science fiction
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: IAB code