Question: How many record labels have the short name of Tha Row and were replaced by Tommy Boy Records?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <short_name> ?pv . ?pv <pred:value> "Tha Row" . ?e_1 <replaces> ?e . ?e_1 <pred:name> "Tommy Boy Records" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
Tha Row
function: FilterConcept
dependencies: 1
inputs: record label
function: Find
inputs: Tommy Boy Records
function: Relate
dependencies: 3
inputs: replaces
forward
function: FilterConcept
dependencies: 4
inputs: record label
function: And
dependencies: 2
5
function: Count
dependencies: 6