Question: Which visual artwork was published in 2013 and includes Danny Glover (who has the occupation of character actor) as a cast member?
Choices:
The Sessions
The Color Purple
Tarzan
Saw III
Dreamgirls
The Royal Tenenbaums
Witness
Iron Man 3
Highland Park
Lincoln
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2013
=
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: character actor
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Danny Glover
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: cast member
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> 2013 . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Danny Glover" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "character actor" .  }
Answer: Highland Park