Question: What move shot in Malibu (the one that is the residence of Jada Pinkett Smith) was published in 1978?
Choices:
Little Women
How Green Was My Valley
Seven Pounds
Inland Empire
1941
House of Sand and Fog
The Time Machine
Grease
The Scorpion King
Days of Heaven
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1978
=
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Jada Pinkett Smith
function: Relate
dependencies: 3
inputs: residence
forward
function: Find
inputs: Malibu
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: filming location
backward
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <publication_date> ?pv . ?pv <pred:year> 1978 . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Malibu" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Jada Pinkett Smith" .  }
Answer: Grease