Question: What is the scope of 'performer' in the sentence Catwoman (the one that presents in work The Dark Knight Rises) has Anne Hathaway (the one that is educated at New York University) as a performer ?
Choices:
Charles Dickens
United States Senate
The Dark Knight Rises
Shrek Forever After
Hulk
Jonah Hex
Catwoman
Giuseppe Verdi
Hercules
Saturday Night Live
Answer: The Dark Knight Rises
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Catwoman" . ?e_1 <present_in_work> ?e_3 . ?e_3 <pred:name> "The Dark Knight Rises" . ?e_2 <pred:name> "Anne Hathaway" . ?e_2 <educated_at> ?e_4 . ?e_4 <pred:name> "New York University" . ?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: The Dark Knight Rises
function: Relate
dependencies: 0
inputs: present in work
backward
function: Find
inputs: Catwoman
function: And
dependencies: 1
2
function: Find
inputs: New York University
function: Relate
dependencies: 4
inputs: educated at
backward
function: Find
inputs: Anne Hathaway
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: performer
of