Question: How many Winter Olympic Games have celebrated in the country that is the sovereign state that is the narrative location of The Girl with the Dragon Tattoo (the one that has Joely Richardson as a cast member)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "The Girl with the Dragon Tattoo" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Joely Richardson" .   }
Program:
function: Find
inputs: Joely Richardson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Girl with the Dragon Tattoo
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Relate
dependencies: 5
inputs: country
backward
function: FilterConcept
dependencies: 6
inputs: Winter Olympic Games
function: Count
dependencies: 7