Question: If we know that Megan Mullally was cast in a particular artwork, where was this artwork published on 9th October 2009 ?
Choices:
2004 Cannes Film Festival
Westwood
Beverly Hills
Thailand
Johannesburg
Indonesia
Lithuania
Norway
Sweden
Philippines
Answer: Sweden
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Megan Mullally" .  ?e <publication_date> ?pv . ?pv <pred:date> "2009-10-09"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Megan Mullally
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: QueryAttrQualifier
dependencies: 2
inputs: publication date
2009-10-09
place of publication