Question: What is the connection between Bobby (the one that has the occupation of actor) to Bangladesh (the one that is the member of United Nations)?
Choices:
replaced by
used by
country of citizenship
separated from
part of the series
found
has edition
language of work or name
material used
legal form
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bobby" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_2 <pred:name> "Bangladesh" . ?e_2 <member_of> ?e_4 . ?e_4 <pred:name> "United Nations" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Bobby
function: And
dependencies: 1
2
function: Find
inputs: United Nations
function: Relate
dependencies: 4
inputs: member of
backward
function: Find
inputs: Bangladesh
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7