Question: Who performs in Hulk (produced by Avi Arad) that contains English-speaking David Banner ?
Choices:
David Boreanaz
Nick Nolte
Adele
Duran Duran
Madonna
Andrew Garfield
Tobey Maguire
Antonio Banderas
Tina Turner
Mike Myers
Answer: Nick Nolte
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Banner" . ?e_1 <native_language> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Hulk" . ?e_2 <producer> ?e_4 . ?e_4 <pred:name> "Avi Arad" . ?e_1 <present_in_work> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <present_in_work> ; <pred:fact_t> ?e_2 ] <performer> ?qpv .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: native language
backward
function: Find
inputs: David Banner
function: And
dependencies: 1
2
function: Find
inputs: Avi Arad
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: Hulk
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: present in work
performer