Question: What is the connection between the Scottish National Party and Edinburgh?
Choices:
director/manager
native language
theme music
home venue
headquarters location
head of state
commissioned by
symptom of
patron saint
time period
Program:
function: Find
inputs: Scottish National Party
function: Find
inputs: Edinburgh
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Scottish National Party" . ?e_2 <pred:name> "Edinburgh" . ?e_1 ?p ?e_2 .  }
Answer: headquarters location