Question: How many film genres have the distributor Icon Productions or have the IAB code 337?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film genre" .  { ?e <distributor> ?e_1 . ?e_1 <pred:name> "Icon Productions" .  } UNION { ?e <IAB_code> ?pv . ?pv <pred:value> "337" .  } }
Program:
function: Find
inputs: Icon Productions
function: Relate
dependencies: 0
inputs: distributor
backward
function: FilterConcept
dependencies: 1
inputs: film genre
function: FindAll
function: FilterStr
dependencies: 3
inputs: IAB code
337
function: FilterConcept
dependencies: 4
inputs: film genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6