Question: How many big cities was the film with the thrash metal band Metallica released in?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: thrash metal
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Metallica
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: Relate
dependencies: 5
inputs: film release region
forward
function: FilterConcept
dependencies: 6
inputs: big city
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e_1 <film_release_region> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Metallica" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "thrash metal" .   }
Answer: 4