Knowledge graphs: Difference between revisions
(moved contents from DBpedia unchanged to gain better understanding of the possibilities and issues) |
(moved contents from Wikidata unchanged to gain better understanding of the possibilities and issues) |
||
Line 63: | Line 63: | ||
* [[Semantic MediaWiki]] is system for inputting and querying semantic data within the MediaWiki and it is implemented as extension(s). | * [[Semantic MediaWiki]] is system for inputting and querying semantic data within the MediaWiki and it is implemented as extension(s). | ||
* [[Wikidata]] and the underlying [[Wikibase|Wikibase extensions]] | * [[Wikidata]] and the underlying [[Wikibase|Wikibase extensions]] | ||
---- | |||
= Wikidata = | |||
'''[[w:Wikidata|Wikidata]]''' [http://wikidata.org (.org)] is a [[w:knowledge base|knowledge base]], an effort to store and serve structured data to [[Wikimedia]] wikis and to a more limited extent to other parties. Wikidata effort saw the daylight in [[2012]]. | |||
The underlying software is the '''[[Wikibase]]''' which consists of 2 [[Mediawiki]] extensions, the repository extension and the client extension. | |||
Wikibase allows [[interwiki]] links to be managed with Wikidata removing much contributor annoyanges, redundancy and error-proneness. | |||
Wikidata is obviously a main source of [[reference]] level data once it is technically possible for non-WMF wikis to access the data items. | |||
It can be accessed outside of WMF wikis with with | |||
* [[wikidata:Wikidata:SPARQL_query_service/queries|Wikidata advice on how to query]] [https://query.wikidata.org/ Wikidata's endpoint] using [[SPARQL]]. | |||
* [[mw:Wikidata Toolkit]] is a way for Java programs to access data in the Wikidata repository. | |||
* [https://rdflib.github.io/sparqlwrapper/ SPARQL Endpoint interface to Python] | |||
* [[wikidata:Wikidata:Database download|Wikidata offers its database for download]] | |||
Main entry point of any Wikidata item is a [[w:JSON|JSON]] dictionary, that has this form: | |||
<code>{“labels”: by-language dictionary | |||
“descriptions”: by-language dictionary | |||
“aliases”: by-language dictionary | |||
“claims”: list of property and values | |||
“sitelinks”: by-language dictionary}</code> | |||
== Useful information == | |||
* [[wikidata:Wikidata:Tools/External_tools|Wikidata's list of external tools that make use of Wikidata's knowledge]] | |||
'''More info''' | |||
* [[m:Wikidata|Metawiki on Wikidata]] | |||
* [[w:Wikipedia:Wikidata|Wikipedia advice on Wikidata issues]] | |||
== See also == | |||
* [[Database]] for a higher level view of what is going on with the databases | |||
* [[Semantic MediaWiki]] is system for inputting and querying semantic data within the MediaWiki and it is implemented as extension(s). | |||
* [[DBpedia]] the original structured data harvesting effort for the MediaWiki wikis |
Revision as of 19:23, 16 February 2019
DBpedia
DBpedia (.org) is a community effort to enable the web moving "Towards a Public Data Infrastructure for a Large, Multilingual, Semantic Knowledge Graph".
Today the DBpedia data sets contain a wealth of information structured into ontologies. This structured data can be queried with SPARQL query language at their public DBpedia SPARQL endpoint.
There are many methods how the DBpedia ontology and datasets could be used in the Consumerium implementation stage wiki. One of these would be to install the LinkedWiki extension.
Ontology classes useful for implementing Consumerium
DBpedia datasets
- DBpedia datasets have been released annually, sometimes with improvements more frequently. The latest (as of July 2018) DBpedia dataset version is 2016-10 which was published in 2017.
Databus
At DBpedia there is ongoing work on what is called DBpedia Databus to take their game to the next level. Databus Alpha was published in May 2018.
History of DBpedia
DBpedia began as an effort to extract structured information from Wikipedia infobox templates and categories and to make this information available on the Web with the initial release on January 10th 2007.
More info on DBpedia
See also
- Database for a higher level view of what is going on with the databases
- Semantic MediaWiki is system for inputting and querying semantic data within the MediaWiki and it is implemented as extension(s).
- Wikidata and the underlying Wikibase extensions
Wikidata
Wikidata (.org) is a knowledge base, an effort to store and serve structured data to Wikimedia wikis and to a more limited extent to other parties. Wikidata effort saw the daylight in 2012.
The underlying software is the Wikibase which consists of 2 Mediawiki extensions, the repository extension and the client extension.
Wikibase allows interwiki links to be managed with Wikidata removing much contributor annoyanges, redundancy and error-proneness.
Wikidata is obviously a main source of reference level data once it is technically possible for non-WMF wikis to access the data items.
It can be accessed outside of WMF wikis with with
- Wikidata advice on how to query Wikidata's endpoint using SPARQL.
- mw:Wikidata Toolkit is a way for Java programs to access data in the Wikidata repository.
- SPARQL Endpoint interface to Python
- Wikidata offers its database for download
Main entry point of any Wikidata item is a JSON dictionary, that has this form:
{“labels”: by-language dictionary
“descriptions”: by-language dictionary
“aliases”: by-language dictionary
“claims”: list of property and values
“sitelinks”: by-language dictionary}
Useful information
More info
See also
- Database for a higher level view of what is going on with the databases
- Semantic MediaWiki is system for inputting and querying semantic data within the MediaWiki and it is implemented as extension(s).
- DBpedia the original structured data harvesting effort for the MediaWiki wikis