Discovering the Wikidata public knowledge graph
Wikidata is a publicly available knowledge graph. It stores data in the RDF format. Like many RDF-like data stores, the query language used by Wikidata is SPARQL. Even if this is not the main topic of this book, we will see a couple of examples by the end of this chapter so that you can perform basic queries.
Wikidata data can be accessed via the following methods:
- A web browser, starting from the home page at https://www.wikidata.org/. Then, use the search bar to find the item of interest for you.
- A SPARQL playground, which is available at https://query.wikidata.org/.
- A public API using the endpoint: http://query.wikidata.org/sparql?format=json&query=””.
You are highly encouraged to navigate through Wikidata using your browser to understand the data format. You can, for instance, start from here:
- The Neo4j page at https://wikidata.org/wiki/Q1628290
- The page for India at https:/...