Question: What is Armageddon (the one whose publication date is 1997-01-01) having in common with Anthony Wong (the one that is a cast member of Infernal Affairs II)?
Choices:
original film format
cast member
diaspora
partner
manufacturer
license
family
broadcast by
public holiday
highest judicial authority
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Armageddon" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1997-01-01"^^xsd:date . ?e_2 <pred:name> "Anthony Wong" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Infernal Affairs II" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Armageddon
function: FilterDate
dependencies: 0
inputs: publication date
1997-01-01
=
function: Find
inputs: Infernal Affairs II
function: Relate
dependencies: 2
inputs: cast member
forward
function: Find
inputs: Anthony Wong
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5