Question: Where is the visual artwork that has John Hughes, who lives in Lake Forest as a cast member and was published on 12/18/1986 published?
Choices:
London
Latvia
Italy
Germany
France
2003 Cannes Film Festival
Venezuela
Croatia
Stockholm
New York
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Hughes" . ?e_1 <residence> ?e_2 . ?e_2 <pred:name> "Lake Forest" .  ?e <publication_date> ?pv . ?pv <pred:date> "1986-12-18"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Lake Forest
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttrQualifier
dependencies: 5
inputs: publication date
1986-12-18
place of publication