Question: How many in electronic music are in the genre of The Velvet Underground, (the one whose genre is avant-garde music), or have an inception time not in 2005?
Choices: 19
20
21
22
23
24
25
26
27
28
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic music" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "The Velvet Underground" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "avant-garde music" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2005 ) .  } }
Program:
function: Find
inputs: avant-garde music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Velvet Underground
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: electronic music
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
2005
!=
function: FilterConcept
dependencies: 7
inputs: electronic music
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 26