Question: What is the largest populated country that partially contains Denmark?
Answer(s):
answer: Germany

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.location.partiallycontains ?k .
?k ns:location.partial_containment_relationship.partially_contains ns:m.0k6nt . 
?c ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:topic_server.population_number ?sk0 .
}
ORDER BY DESC(xsd:float(?sk0))
LIMIT 1