Question: The Portrait of a Lady starring Viggo Mortensen was published on 1997-01-09, where did this occur?
Choices: Northern America
Romania
Stockholm
Czech Republic
Germany
Latvia
Israel
London
Hong Kong
Turkey
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "The Portrait of a Lady" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Viggo Mortensen" .  ?e <publication_date> ?pv . ?pv <pred:date> "1997-01-09"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Viggo Mortensen
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Portrait of a Lady
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
1997-01-09
place of publication
Answer: Germany