Question: How many record labels are there whose official website is http://www.decca.com/ or who employed Lady Gaga?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
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.decca.com/" .  } UNION { ?e_1 <employer> ?e . ?e_1 <pred:name> "Lady Gaga" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.decca.com/
function: FilterConcept
dependencies: 1
inputs: record label
function: Find
inputs: Lady Gaga
function: Relate
dependencies: 3
inputs: employer
forward
function: FilterConcept
dependencies: 4
inputs: record label
function: Or
dependencies: 2
5
function: Count
dependencies: 6