Question: English-speaking Jack Thompson has what connection to the Labour Party that Stephen Fry belongs to?
Choices:
country
update method
official language
instrument
member of political party
after a work by
original film format
child
film editor
does not have part
Answer: member of political party
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jack Thompson" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Labour Party" . ?e_4 <member_of_political_party> ?e_2 . ?e_4 <pred:name> "Stephen Fry" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Jack Thompson
function: And
dependencies: 1
2
function: Find
inputs: Stephen Fry
function: Relate
dependencies: 4
inputs: member of political party
forward
function: Find
inputs: Labour Party
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7