Question: What country with a capital of Luanda does the UK trade with?
Answer(s):
answer: Angola

SPARQL query:
#MANUAL SPARQL
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
  {
    ns:m.07ssc ns:location.statistical_region.places_exported_to ?y . # United Kingdom
    ?y ns:location.imports_and_exports.exported_to ?x .
  }
  UNION
  {
    ns:m.07ssc ns:location.statistical_region.places_exported_from ?y . # United Kingdom
    ?y ns:location.imports_and_exports.exported_from ?x .
  }?x ns:location.country.capital ns:m.04nsy . 
}