Question: Politician Glenda Jackson belongs to which political party?
Choices:
Stromstad Treaty of 1751
Democratic Party
Leipzig
Communist Party of the Soviet Union
Republican Party
Likud
republic
Russian Social Democratic Labour Party (bolshevik)
Labour Party
מְדִינַת יִשְׂרָאֵל
Answer: Labour Party
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Glenda Jackson" . ?e_2 <pred:name> "politician" . ?e_1 <occupation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <occupation> ; <pred:fact_t> ?e_2 ] <member_of_political_party> ?qpv .  }
Program:
function: Find
inputs: Glenda Jackson
function: Find
inputs: politician
function: QueryRelationQualifier
dependencies: 0
1
inputs: occupation
member of political party