Question: What is the connection between Cape Town to mayor?
Choices:
architect
part of the series
composer
business division
office held by head of government
officially opened by
sex or gender
successful candidate
exported to
programming language
Program:
function: Find
inputs: Cape Town
function: Find
inputs: mayor
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cape Town" . ?e_2 <pred:name> "mayor" . ?e_1 ?p ?e_2 .  }
Answer: office held by head of government