Question: Tell me the role of X-Men (which contains X-Men: The Last Stand)'s director Brett Ratner.
Choices:
X-Men: The Last Stand
single-phase electric power
X2
winter sport
band member
first language
X-Men
island
player character
United States Postal Service abbreviation
Answer: X-Men: The Last Stand
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "X-Men" . ?e_3 <part_of_the_series> ?e_1 . ?e_3 <pred:name> "X-Men: The Last Stand" . ?e_2 <pred:name> "Brett Ratner" . ?e_1 <director> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <director> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: X-Men: The Last Stand
function: Relate
dependencies: 0
inputs: part of the series
forward
function: Find
inputs: X-Men
function: And
dependencies: 1
2
function: Find
inputs: Brett Ratner
function: QueryRelationQualifier
dependencies: 3
4
inputs: director
object has role