Question: How many crimes have the IPTC Newscode mediatopic/20000104 or are the main subject of The Pianist whose production company is StudioCanal?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPTC Newscode
mediatopic/20000104
function: FilterConcept
dependencies: 1
inputs: crime
function: Find
inputs: StudioCanal
function: Relate
dependencies: 3
inputs: production company
backward
function: Find
inputs: The Pianist
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: main subject
forward
function: FilterConcept
dependencies: 7
inputs: crime
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "crime" .  { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20000104" .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "The Pianist" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> "StudioCanal" .  } }
Answer: 2