Question: What IPTC Newscode applies to the criminal activity which constitutes the central subject of Traffic, a movie which includes Viola Davis in the cast?
Choices:
mediatopic/20000096
worldregion/r001
mediatopic/20001149
mediatopic/20000638
mediatopic/20001058
mediatopic/20000436
mediatopic/20000852
mediatopic/20001085
mediatopic/20000245
mediatopic/20000965
Answer: mediatopic/20000096
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "crime" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Traffic" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Viola Davis" .  ?e <IPTC_Newscode> ?pv .  }
Program:
function: Find
inputs: Viola Davis
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Traffic
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: crime
function: QueryAttr
dependencies: 5
inputs: IPTC Newscode