Question: What is the connection between Pirates of the Caribbean: Dead Man's Chest (the one whose genre is action game) to Pirates of the Caribbean: Dead Man's Chest (the one that has Tom Hollander as a cast member)?
Choices:
heritage designation
distribution
territory overlaps
dissertation submitted to
based on
organisation directed from the office or person
head of state
collection
residence
geography of topic
Answer: based on
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pirates of the Caribbean: Dead Man's Chest" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "action game" . ?e_2 <pred:name> "Pirates of the Caribbean: Dead Man's Chest" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> "Tom Hollander" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: action game
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Pirates of the Caribbean: Dead Man's Chest
function: And
dependencies: 1
2
function: Find
inputs: Tom Hollander
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Pirates of the Caribbean: Dead Man's Chest
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7