Question: How many types of reggae are either associated with No Doubt or were founded in 1970?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "reggae" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "No Doubt" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> 1970 .  } }
Program:
function: Find
inputs: No Doubt
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: reggae
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1970
=
function: FilterConcept
dependencies: 4
inputs: reggae
function: Or
dependencies: 2
5
function: Count
dependencies: 6