Question: How many subsidiary companies either are owned by Warner Music Group or have a subsidiary of Motown?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "subsidiary company" .  { ?e <owned_by> ?e_1 . ?e_1 <pred:name> "Warner Music Group" .  } UNION { ?e <subsidiary> ?e_1 . ?e_1 <pred:name> "Motown" .  } }
Program:
function: Find
inputs: Warner Music Group
function: Relate
dependencies: 0
inputs: owned by
backward
function: FilterConcept
dependencies: 1
inputs: subsidiary company
function: Find
inputs: Motown
function: Relate
dependencies: 3
inputs: subsidiary
backward
function: FilterConcept
dependencies: 4
inputs: subsidiary company
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2