Question: How many film production companies belong to the industry of filmmaking or have Warner Bros. Interactive Entertainment as a part?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film production company" .  { ?e <industry> ?e_1 . ?e_1 <pred:name> "filmmaking" .  } UNION { ?e_1 <part_of> ?e . ?e_1 <pred:name> "Warner Bros. Interactive Entertainment" .  } }
Program:
function: Find
inputs: filmmaking
function: Relate
dependencies: 0
inputs: industry
backward
function: FilterConcept
dependencies: 1
inputs: film production company
function: Find
inputs: Warner Bros. Interactive Entertainment
function: Relate
dependencies: 3
inputs: part of
forward
function: FilterConcept
dependencies: 4
inputs: film production company
function: Or
dependencies: 2
5
function: Count
dependencies: 6