Question: What is the musical which was first performed before 1989 and received Tony Award for Best Revival of a Musical (the point in time of this statement is 1997)
Choices:
Oklahoma!
Rent
South Pacific
West Side Story
Sunset Boulevard
Aladdin
Chicago
Beauty and the Beast
The Sound of Music
The Producers
Answer: Chicago
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" . ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1989 ) . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Tony Award for Best Revival of a Musical" . [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1997 .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of first performance
1989
<
function: FilterConcept
dependencies: 1
inputs: musical
function: Find
inputs: Tony Award for Best Revival of a Musical
function: Relate
dependencies: 3
inputs: award received
backward
function: QFilterYear
dependencies: 4
inputs: point in time
1997
=
function: FilterConcept
dependencies: 5
inputs: musical
function: And
dependencies: 2
6
function: What
dependencies: 7