Question: How many United States cities are the source of the name Puerto Rico (whose rate of inflation is 3.5 percent) and are the headquarters of Death Row Records?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Puerto Rico
function: FilterNum
dependencies: 0
inputs: inflation rate
3.5 percentage
=
function: Relate
dependencies: 1
inputs: named after
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Find
inputs: Death Row Records
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: FilterConcept
dependencies: 5
inputs: city of the United States
function: And
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Puerto Rico" . ?e_1 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "3.5"^^xsd:double .  ?e_2 <headquarters_location> ?e . ?e_2 <pred:name> "Death Row Records" .  }
Answer: 0