Question: What is the title of the visual artwork that received an Academy Award for Best Actor (the winner of this statement is Paul Scofield)?
Choices:
Enron: The Smartest Guys in the Room
Alexander the Great
In the Bedroom
Anchorman: The Legend of Ron Burgundy
De Mayerling à Sarajevo
Beverly Hills, 90210
A Man for All Seasons
Celebrity
Eduardo Manostijeras
Oh! What a Lovely War
Answer: A Man for All Seasons
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actor" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "Paul Scofield" . ?e <title> ?pv .  }
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
Paul Scofield
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttr
dependencies: 3
inputs: title