Question: Where was 95th episode belonging to Law & Order (the one that has Chris Noth as a cast member) on 2nd May 1997 ?
Choices:
New Zealand
Germany
John F. Kennedy Center for the Performing Arts
Beverly Hills
Argentina
Chicago
France
Canada
Toronto International Film Festival
2004 Cannes Film Festival
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Law & Order" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Chris Noth" . [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv_1 . ?qpv_1 <pred:value> "95" . ?e <publication_date> ?pv . ?pv <pred:date> "1997-05-02"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Chris Noth
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Law & Order
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: QFilterStr
dependencies: 4
inputs: series ordinal
95
function: FilterConcept
dependencies: 5
inputs: television series episode
function: QueryAttrQualifier
dependencies: 6
inputs: publication date
1997-05-02
place of publication