Question: How many singles were not published in 1950 and whose genre is hip hop music?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "single" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1950 ) . ?e <genre> ?e_1 . ?e_1 <pred:name> "hip hop music" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1950
!=
function: FilterConcept
dependencies: 1
inputs: single
function: Find
inputs: hip hop music
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: single
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3