Question: What is the number of TV stations that have a Mecca set up or that have The Walt Disney Company as an owner?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: The Walt Disney Company
function: Relate
dependencies: 0
inputs: owner of
forward
function: FilterConcept
dependencies: 1
inputs: television station
function: Find
inputs: Mecca
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television station" .  { ?e_1 <owner_of> ?e . ?e_1 <pred:name> "The Walt Disney Company" .  } UNION { ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Mecca" .  } }
Answer: 6