Question: What is the IPTC Newscode of ballet (the one that is practiced by ballet dancer)?
Choices:
mediatopic/20000986
mediatopic/20000969
mediatopic/20000245
mediatopic/20001175
mediatopic/20000008
mediatopic/20000401
mediatopic/20000678
mediatopic/20000638
mediatopic/20001071
mediatopic/20000683
Answer: mediatopic/20000008
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "ballet" . ?e <practiced_by> ?e_1 . ?e_1 <pred:name> "ballet dancer" .  ?e <IPTC_Newscode> ?pv .  }
Program:
function: Find
inputs: ballet dancer
function: Relate
dependencies: 0
inputs: practiced by
backward
function: Find
inputs: ballet
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: IPTC Newscode