Question: What is the predecessor of Men in Black 3, which is a part of Men in Black (the one that has Liam Neeson as a cast member)?
Choices:
Alien
Men in Black II
The Wire, season 3
The Beatles
Toni Braxton
American Pie 2
Rush Hour 2
The Wire, season 2
Bette Midler
Rocky IV
Answer: Men in Black II
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Men in Black 3" . ?e_2 <pred:name> "Men in Black" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Liam Neeson" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <follows> ?qpv .  }
Program:
function: Find
inputs: Men in Black 3
function: Find
inputs: Liam Neeson
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Men in Black
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: part of the series
follows