Question: What is the connection between Jim Brown (the one that uses the language English) to Jim Brown (the one that is a cast member of Mars Attacks!)?
Choices:
candidate
illustrator
lifestyle
conflict
territory claimed by
manufacturer
different from
dedicated to
drafted by
sport
Answer: different from
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jim Brown" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Jim Brown" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Mars Attacks!" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 1
2
function: Find
inputs: Mars Attacks!
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Jim Brown
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7