Question: How many record labels are related to the record label of Toni Braxton of soul music and not founded in 1996?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e_1 <record_label> ?e . ?e_1 <pred:name> "Toni Braxton" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "soul music" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1996 ) .  }
Program:
function: Find
inputs: soul music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Toni Braxton
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: record label
forward
function: FilterConcept
dependencies: 4
inputs: record label
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1996
!=
function: FilterConcept
dependencies: 7
inputs: record label
function: And
dependencies: 5
8
function: Count
dependencies: 9