Skip to content

Instantly share code, notes, and snippets.

@pgericson
Created April 17, 2014 07:22
Show Gist options
  • Save pgericson/10960553 to your computer and use it in GitHub Desktop.
Save pgericson/10960553 to your computer and use it in GitHub Desktop.
dbpedia find current countries' currency
select ?country ?currency ?isocode where {
?country a <http://dbpedia.org/ontology/Country> .
?currency a dbpedia-owl:Currency .
?country ?p ?currency .
?currency dbpprop:isoCode ?isocode
FILTER NOT EXISTS { ?country dbpedia-owl:dissolutionYear ?disyear }
} LIMIT 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment