Question: How much rock music is there that is the same genre as The Cure, a group that's very well-known for its post-punk style, or has a start time equaling 1980-01-01?
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> "rock music" .  { ?e <start_time> ?pv . ?pv <pred:date> "1980-01-01"^^xsd:date .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "The Cure" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "post-punk" .  } }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: start time
1980-01-01
=
function: FilterConcept
dependencies: 1
inputs: rock music
function: Find
inputs: post-punk
function: Relate
dependencies: 3
inputs: famous people
forward
function: Find
inputs: The Cure
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: genre
forward
function: FilterConcept
dependencies: 7
inputs: rock music
function: Or
dependencies: 2
8
function: Count
dependencies: 9