Question: DreamWorks Records found or by Rick Rubin Which number of record labels?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" .  { ?e_1 <found> ?e . ?e_1 <pred:name> "Rick Rubin" .  } UNION { ?e_1 <founded_by> ?e . ?e_1 <pred:name> "DreamWorks Records" .  } }
Program:
function: Find
inputs: Rick Rubin
function: Relate
dependencies: 0
inputs: found
forward
function: FilterConcept
dependencies: 1
inputs: record label
function: Find
inputs: DreamWorks Records
function: Relate
dependencies: 3
inputs: founded by
forward
function: FilterConcept
dependencies: 4
inputs: record label
function: Or
dependencies: 2
5
function: Count
dependencies: 6