Question: How many film production companies are owned by the business that owns Lifetime?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film production company" . ?e <owned_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "business" . ?e_2 <owned_by> ?e_1 . ?e_2 <pred:name> "Lifetime" .   }
Program:
function: Find
inputs: Lifetime
function: Relate
dependencies: 0
inputs: owned by
forward
function: FilterConcept
dependencies: 1
inputs: business
function: Relate
dependencies: 2
inputs: owned by
backward
function: FilterConcept
dependencies: 3
inputs: film production company
function: Count
dependencies: 4