Question: How many comedies are there whose running time is 6.1 months and narrative location is Miami where the population is 29571?
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> "comedy" . ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> "6.1"^^xsd:double . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Miami" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "29571"^^xsd:double .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
6.1 month
=
function: FilterConcept
dependencies: 1
inputs: comedy
function: Find
inputs: Miami
function: FilterNum
dependencies: 3
inputs: population
29571
=
function: Relate
dependencies: 4
inputs: narrative location
backward
function: FilterConcept
dependencies: 5
inputs: comedy
function: And
dependencies: 2
6
function: Count
dependencies: 7