Question: How many subsidiary companies are either the owner of Televisa or have the Twitter username of MSStudiosBlog?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "subsidiary company" .  { ?e <owner_of> ?e_1 . ?e_1 <pred:name> "Televisa" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "MSStudiosBlog" .  } }
Program:
function: Find
inputs: Televisa
function: Relate
dependencies: 0
inputs: owner of
backward
function: FilterConcept
dependencies: 1
inputs: subsidiary company
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
MSStudiosBlog
function: FilterConcept
dependencies: 4
inputs: subsidiary company
function: Or
dependencies: 2
5
function: Count
dependencies: 6