Question: How many record labels are owned by Fueled by Ramen and Warner Music Group?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" .  { ?e_1 <owner_of> ?e . ?e_1 <pred:name> "Warner Music Group" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "Fueled by Ramen" .  } }
Program:
function: Find
inputs: Warner Music Group
function: Relate
dependencies: 0
inputs: owner of
forward
function: FilterConcept
dependencies: 1
inputs: record label
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Fueled by Ramen
function: FilterConcept
dependencies: 4
inputs: record label
function: Or
dependencies: 2
5
function: Count
dependencies: 6