Question: What is the connection between Alexander (the one that is the member of political party Communist Party of the Soviet Union) to scientist?
Choices: given name
source of income
interested in
permanent resident of
original network
use
official color
stated in
voice actor
occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alexander" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Communist Party of the Soviet Union" . ?e_2 <pred:name> "scientist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Communist Party of the Soviet Union
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Alexander
function: And
dependencies: 1
2
function: Find
inputs: scientist
function: QueryRelation
dependencies: 3
4
Answer: occupation