Question: What is the association between Paul Gross (who works in Kiel) and the Social Democratic Party of Germany?
Choices:
successful candidate
member of political party
connects with
author
set in period
copyright representative
movement
distribution
located in the administrative territorial entity
notable people with this condition
Answer: member of political party
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Gross" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Kiel" . ?e_2 <pred:name> "Social Democratic Party of Germany" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kiel
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Paul Gross
function: And
dependencies: 1
2
function: Find
inputs: Social Democratic Party of Germany
function: QueryRelation
dependencies: 3
4