Question: How many musicals received a theater award that was given to Rent (the one that received Tony Award for Best Musical) in 1996 ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "theatre award" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> "Rent" . ?e_2 <award_received> ?e_3 . ?e_3 <pred:name> "Tony Award for Best Musical" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1996 .   }
Program:
function: Find
inputs: Tony Award for Best Musical
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Rent
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award received
forward
function: QFilterYear
dependencies: 4
inputs: point in time
1996
=
function: FilterConcept
dependencies: 5
inputs: theatre award
function: Relate
dependencies: 6
inputs: award received
backward
function: FilterConcept
dependencies: 7
inputs: musical
function: Count
dependencies: 8
Answer: 3