Question: What is the connection between Cardiff to United Kingdom?
Choices:
performer
programming paradigm
cast member
country
product or material produced
godparent
religious order
designed by
original network
capital
Program:
function: Find
inputs: Cardiff
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cardiff" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country