Skip to content

Instantly share code, notes, and snippets.

@nandana
Created June 7, 2017 18:59
Show Gist options
  • Save nandana/2bf4ecb28342285caee8883f53042a4a to your computer and use it in GitHub Desktop.
Save nandana/2bf4ecb28342285caee8883f53042a4a to your computer and use it in GitHub Desktop.
Entities mapped to Wikidata entities
Endpoint:
http://dbpedia.org/sparql
Query:
PREFIX owl: <http://www.w3.org/2002/07/owl#>
select count (distinct ?s) as ?c where {
?s owl:sameAs ?sWikidata .
FILTER regex(str(?sWikidata),'http://www.wikidata.org/entity/','i')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment