Question: How is Democrat Henry King related to the Democratic Party?
Choices:
appears in the form of
language used
legal form
member of political party
honorific prefix
owned by
composer
languages spoken, written or signed
performer
parent organization
Program:
function: Find
inputs: Democratic Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Henry King
function: And
dependencies: 1
2
function: Find
inputs: Democratic Party
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Henry King" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Democratic Party" . ?e_2 <pred:name> "Democratic Party" . ?e_1 ?p ?e_2 .  }
Answer: member of political party