Question: What country that borders Germany that has the US dollar as nominal GDP per capita currency?
Answer(s):
answer: Austria

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0345h)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0345h ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.gdp_nominal_per_capita ?c .
?c ns:measurement_unit.dated_money_value.currency ns:m.09nqf . 
}