Question: How many record labels have the official website http://www.roughtraderecords.com/ or are the owner of Sony BMG Music Entertainment?
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 <official_website> ?pv . ?pv <pred:value> "http://www.roughtraderecords.com/" .  } UNION { ?e <owner_of> ?e_1 . ?e_1 <pred:name> "Sony BMG Music Entertainment" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.roughtraderecords.com/
function: FilterConcept
dependencies: 1
inputs: record label
function: Find
inputs: Sony BMG Music Entertainment
function: Relate
dependencies: 3
inputs: owner of
backward
function: FilterConcept
dependencies: 4
inputs: record label
function: Or
dependencies: 2
5
function: Count
dependencies: 6