Question: How many professions are a Wikidata property of the city that is Inglourious Basterds' narrative location?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Inglourious Basterds
function: Relate
dependencies: 0
inputs: narrative location
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: Wikidata property
backward
function: FilterConcept
dependencies: 3
inputs: profession
function: Count
dependencies: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e <Wikidata_property> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_3 <narrative_location> ?e_1 . ?e_3 <pred:name> "Inglourious Basterds" .   }
Answer: 1