Question: What is the scope of the statement that Jonah Hex (that is a member of the Confederate States Army) has Josh Brolin as a performer?
Choices:
Hulk
The Dark Knight Rises
Charles Dickens
Jonah Hex
The Avengers
Elektra
Saturday Night Live
Tarzan
Hercules
Buffy the Vampire Slayer
Answer: Jonah Hex
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jonah Hex" . ?e_1 <member_of> ?e_3 . ?e_3 <pred:name> "Confederate States Army" . ?e_2 <pred:name> "Josh Brolin" . ?e_1 <performer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <performer> ; <pred:fact_t> ?e_2 ] <of> ?qpv .  }
Program:
function: Find
inputs: Confederate States Army
function: Relate
dependencies: 0
inputs: member of
backward
function: Find
inputs: Jonah Hex
function: And
dependencies: 1
2
function: Find
inputs: Josh Brolin
function: QueryRelationQualifier
dependencies: 3
4
inputs: performer
of