Question: How many Summer Olympic Games took place in the US city which is the residence of Jason Lee, the screenwriter ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" . ?e <location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Jason Lee" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" .   }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Jason Lee
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: Relate
dependencies: 5
inputs: location
backward
function: FilterConcept
dependencies: 6
inputs: Summer Olympic Games
function: Count
dependencies: 7
Answer: 0