Knowledge graphs: Difference between revisions
(moved contents from Wikibase unchanged to gain better understanding of the possibilities and issues) |
(compacted the == See also == -sections to just one) |
||
Line 58: | Line 58: | ||
* [https://blog.dbpedia.org/ DBpedia blog] | * [https://blog.dbpedia.org/ DBpedia blog] | ||
* [https://github.com/dbpedia/ DBpedia code at GitHub] | * [https://github.com/dbpedia/ DBpedia code at GitHub] | ||
---- | ---- | ||
= Wikidata = | = Wikidata = | ||
Line 100: | Line 94: | ||
* [[m:Wikidata|Metawiki on Wikidata]] | * [[m:Wikidata|Metawiki on Wikidata]] | ||
* [[w:Wikipedia:Wikidata|Wikipedia advice on Wikidata issues]] | * [[w:Wikipedia:Wikidata|Wikipedia advice on Wikidata issues]] | ||
== Wikibase == | == Wikibase == | ||
Line 150: | Line 139: | ||
* [[mw:Extension:Semantic Maps|Semantic Maps]] - displays geographic semantic data using various mapping services | * [[mw:Extension:Semantic Maps|Semantic Maps]] - displays geographic semantic data using various mapping services | ||
== Screenshots == | == Screenshots == | ||
[[File:AcaWiki Semantic Forms screenshot.png|thumb|right|650px|A form to edit a page, using the [[mw:Extension:Semantic Forms|Semantic Forms extension]]]] | [[File:AcaWiki Semantic Forms screenshot.png|thumb|right|650px|A form to edit a page, using the [[mw:Extension:Semantic Forms|Semantic Forms extension]]]] | ||
= See also = | |||
* [[Database]] for a higher level view of what is going on with the databases |
Revision as of 19:31, 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
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
Wikibase
Wikibase (wikiba.se) is a system for storing and querying structured data that powers Wikidata and other wikis.
Wikibase consists of two extensions:
- Wikibase Repository that allows a wiki to work as a repository for structured data.
- Wikibase Client that allows a wiki to access structured data from a repository. The client can work only with repository databases it can access so they must be on the same machine or the same load balancer.
Installation
Wikibase installation instructions at Mediawiki.org and advanced configuration of Wikibase.
The installation instructions assume you are installing the dependencies with Composer, a PHP package manager that makes the installation of dependencies easy.
Related useful extensions
- mw:Extension:ArticlePlaceholder makes article placeholders from repository data and invites users to create the article.
- mw:Extension:UniversalLanguageSelector is recommended to work in conjunction with Wikibase for user comfort.
Alternative to using Wikibase Client
- mw:Extension:LinkedWiki can be configured to access multiple SPARQL endpoints.
Useful information
- The data model used in Wikibase (thorough) and the primer on the data model (quick access)
- Information on the federation of Wikibase at Github
- Phabricator Task to "Document how to set up federated Wikibase instances"
- Phabricator Task to "Wikidata/Wikibase federation and distribution" and the Google Docs document charting out the task
Semantic MediaWiki
Semantic MediaWiki (.org) (SMW) is a free, open-source extension to MediaWiki that lets you store & query semantic data within the wiki and it seems well suited to Consumerium's information infrastructure needs.
Spinoff extensions
A variety of open-source MediaWiki extensions exist that use the data structure provided by Semantic MediaWiki.
Among the most notable are of the Semantic MediaWiki extensions:
- Semantic Forms - enables user-created forms for adding and editing pages that use semantic data
- Semantic Result Formats - provides a large number of display formats for semantic data, including charts, graphs, calendars and mathematical functions
- Semantic Drilldown - provides a w:faceted browser interface for viewing the semantic data in a wiki
- Semantic Maps - displays geographic semantic data using various mapping services
Screenshots
See also
- Database for a higher level view of what is going on with the databases