Created
July 29, 2013 19:59
-
-
Save KasperBrandt/6107271 to your computer and use it in GitHub Desktop.
SPARQL query for retrieving the abstract, thumbnail and HDI information of a country. Should be performed on the DBPedia endpoint: http://dbpedia.org/sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT ?thumbnail ?abstract ?hdirank ?hdiyear | |
WHERE { | |
<##DBPedia_link##> <http://dbpedia.org/ontology/thumbnail> ?thumbnail . | |
<##DBPedia_link##> <http://dbpedia.org/ontology/abstract> ?abstract . | |
FILTER(langMatches(lang(?abstract), "en")) . | |
<##DBPedia_link##> <http://dbpedia.org/property/hdiRank> ?hdirank . | |
<##DBPedia_link##> <http://dbpedia.org/property/hdiYear> ?hdiyear | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment