A semantic wiki is a
wiki
A wiki ( ) is a form of hypertext publication on the internet which is collaboratively edited and managed by its audience directly through a web browser. A typical wiki contains multiple pages that can either be edited by the public or l ...
that has an underlying
model of the knowledge described in its pages. Regular, or
syntactic
In linguistics, syntax ( ) is the study of how words and morphemes combine to form larger units such as phrases and sentences. Central concerns of syntax include word order, grammatical relations, hierarchical sentence structure (constituency ...
, wikis have structured text and untyped
hyperlink
In computing, a hyperlink, or simply a link, is a digital reference providing direct access to Data (computing), data by a user (computing), user's point and click, clicking or touchscreen, tapping. A hyperlink points to a whole document or to ...
s. Semantic wikis, on the other hand, provide the ability to capture or identify information about the data within pages, and the relationships between pages, in ways that can be queried or exported like a
database
In computing, a database is an organized collection of data or a type of data store based on the use of a database management system (DBMS), the software that interacts with end users, applications, and the database itself to capture and a ...
through
semantic queries.
Semantic wikis were first proposed in the early 2000s, and began to be implemented seriously around 2005. As of 2021, well-known semantic wiki engines are
Semantic MediaWiki and
Wikibase.
Key characteristics
Formal notation
The knowledge model found in a semantic wiki is typically available in a
formal language
In logic, mathematics, computer science, and linguistics, a formal language is a set of strings whose symbols are taken from a set called "alphabet".
The alphabet of a formal language consists of symbols that concatenate into strings (also c ...
, so that machines can process it into an
entity-relationship model or
relational database
A relational database (RDB) is a database based on the relational model of data, as proposed by E. F. Codd in 1970.
A Relational Database Management System (RDBMS) is a type of database management system that stores data in a structured for ...
.
The formal notation may be included in the pages themselves by users, as in
Semantic MediaWiki, or it may be derived from the pages or the page names or the means of linking.
For example, using a specific alternative page name might indicate that a specific type of link was intended.
Providing information through a formal notation allows machines to calculate new facts, as relations between pages, from the facts represented in the
knowledge model.
Semantic Web compatibility
The technologies developed by the
Semantic Web
The Semantic Web, sometimes known as Web 3.0, is an extension of the World Wide Web through standards set by the World Wide Web Consortium (W3C). The goal of the Semantic Web is to make Internet data machine-readable.
To enable the encoding o ...
community provide one basis for formal reasoning about the knowledge model that is developed by importing this data. However, there is also a wide array of technologies that work on relational data.
Example
Imagine a semantic wiki devoted to
food
Food is any substance consumed by an organism for Nutrient, nutritional support. Food is usually of plant, animal, or Fungus, fungal origin and contains essential nutrients such as carbohydrates, fats, protein (nutrient), proteins, vitamins, ...
. The page for an
apple
An apple is a round, edible fruit produced by an apple tree (''Malus'' spp.). Fruit trees of the orchard or domestic apple (''Malus domestica''), the most widely grown in the genus, are agriculture, cultivated worldwide. The tree originated ...
would contain, in addition to standard text information, some machine-readable or at least machine-intuitable semantic data. The most basic kind of data would be that an apple is a kind of
fruit
In botany, a fruit is the seed-bearing structure in flowering plants (angiosperms) that is formed from the ovary after flowering.
Fruits are the means by which angiosperms disseminate their seeds. Edible fruits in particular have long propaga ...
—what's known as an
inheritance
Inheritance is the practice of receiving private property, titles, debts, entitlements, privileges, rights, and obligations upon the death of an individual. The rules of inheritance differ among societies and have changed over time. Offi ...
relationship. The wiki would thus be able to automatically generate a list of fruits, simply by listing all pages that are tagged as being of type "fruit." Further semantic tags in the "apple" page could indicate other data about apples, including their possible colors and sizes, nutritional information and serving suggestions, and so on.
If the wiki exports all this data in
RDF or a similar format, it can then be queried in a similar way to a
database
In computing, a database is an organized collection of data or a type of data store based on the use of a database management system (DBMS), the software that interacts with end users, applications, and the database itself to capture and a ...
—so that an external user or site could, for instance, request a list of all fruits that are red and can also be baked in a pie.
History
In the 1980s, before the Web began, there were several technologies to process typed links between collectively maintained hypertext pages, such as
NoteCards
NoteCards was a hypertext-based personal knowledge base system developed at PARC (company), Xerox PARC by Randall Trigg, Frank Halasz and Thomas Moran in 1984. NoteCards was developed after Trigg's pioneering 1983 Doctor of Philosophy, Ph.D. thes ...
,
KMS, and
gIBIS. Extensive research was published on these tools by the
collaboration software,
computer-mediated communication
Computer-mediated communication (CMC) is defined as any human communication that occurs through the use of two or more electronic devices. While the term has traditionally referred to those communications that occur via computer-mediated forma ...
,
hypertext
Hypertext is E-text, text displayed on a computer display or other electronic devices with references (hyperlinks) to other text that the reader can immediately access. Hypertext documents are interconnected by hyperlinks, which are typic ...
, and
computer supported cooperative work communities.
The first known usage of the term "Semantic Wiki" was a
Usenet
Usenet (), a portmanteau of User's Network, is a worldwide distributed discussion system available on computers. It was developed from the general-purpose UUCP, Unix-to-Unix Copy (UUCP) dial-up network architecture. Tom Truscott and Jim Elli ...
posting by Andy Dingley in January 2001. Its first known appearance in a technical paper was in a 2003 paper by Austrian researcher Leo Sauermann.
Many of the existing semantic wiki applications were started in the mid-2000s, including ArtificialMemory (2004),
Semantic MediaWiki (2005),
Freebase (2005), and
OntoWiki (2006).
June 2006 saw the first meeting dedicated to semantic wikis, the "SemWiki" workshop, co-located with the
European Semantic Web Conference in
Montenegro
, image_flag = Flag of Montenegro.svg
, image_coat = Coat of arms of Montenegro.svg
, coa_size = 80
, national_motto =
, national_anthem = ()
, image_map = Europe-Mont ...
. This workshop ran annually until 2010.
The site
DBpedia
DBpedia (from "DB" for "database") is a project aiming to extract structured content from the information created in the Wikipedia project. This structured information is made available on the World Wide Web using OpenLink Virtuoso. DBpedia a ...
, launched in 2007, though not a semantic wiki, publishes structured data from
Wikipedia
Wikipedia is a free content, free Online content, online encyclopedia that is written and maintained by a community of volunteers, known as Wikipedians, through open collaboration and the wiki software MediaWiki. Founded by Jimmy Wales and La ...
in RDF form, which enables semantic querying of Wikipedia's data.
In March 2008,
Wikia
Fandom (formerly known as Wikicities and Wikia) is a wiki hosting service that hosts wikis mainly on entertainment topics (i.e., video games, TV series, movies, entertainers, etc.). The Privately held company, privately held for-profit Delaware ...
, the world's largest
wiki farm
A wiki hosting service, or wiki farm, is a server or an array of servers that offers users tools to simplify the creation and development of individual, independent wikis.
Prior to wiki farms, someone who wanted to operate a wiki had to insta ...
, made the use of Semantic MediaWiki available for all their wikis on request, thus allowing all the wikis they hosted to function as semantic wikis. However, since upgrading to version 1.19 of MediaWiki in 2013, they have stopped supporting Semantic MediaWiki for new requests on the basis of performance problem.
In July 2010,
Google
Google LLC (, ) is an American multinational corporation and technology company focusing on online advertising, search engine technology, cloud computing, computer software, quantum computing, e-commerce, consumer electronics, and artificial ...
purchased
Metaweb, the company behind Freebase.

In April 2012, work began on
Wikidata
Wikidata is a collaboratively edited multilingual knowledge graph hosted by the Wikimedia Foundation. It is a common source of open data that Wikimedia projects such as Wikipedia, and anyone else, are able to use under the CC0 public domain ...
, a collaborative, multi-language store of data, whose data could then be used within Wikipedia articles, as well as by the outside world.
Semantic wiki software
There are a number of wiki applications that provide semantic functionality. Some standalone semantic wiki applications exist, including
OntoWiki. Other semantic wiki software is structured as extensions or plugins to standard wiki software. The best-known of these is
Semantic MediaWiki, an extension to
MediaWiki
MediaWiki is free and open-source wiki software originally developed by Magnus Manske for use on Wikipedia on January 25, 2002, and further improved by Lee Daniel Crocker,mailarchive:wikipedia-l/2001-August/000382.html, Magnus Manske's announc ...
. Another example is the SemanticXWiki
Semantic XWikiExtension
ObjectSecurity Ltd, November 16, 2012 extension for XWiki.
Some standard wiki engines also include the ability to add typed, semantic links to pages, including PhpWiki and Tiki Wiki CMS Groupware.
Freebase, though not billed as a wiki engine, was a web database with semantic-wiki-like properties.
Common features
Semantic wikis vary in their degree of formalization. Semantics may be either included in, or placed separately from, the wiki markup. Users may be supported when adding this content, using forms or autocompletion
Autocomplete, or word completion, is a feature in which an application predicts the rest of a word a user is typing. In Android and iOS smartphones, this is called predictive text. In graphical user interfaces, users can typically press the t ...
, or more complex proposal generation or consistency checks. The representation language may be wiki syntax, a standard language like RDF or OWL, or some database directly populated by the tool that withdraws the semantics from the raw data. Separate versioning support or correction editing for the formalized content may also be provided. Provenance support for the formalized content, that is, tagging the author of the data separately from the data itself, varies.
What data can get formalized also varies. One may be able to specify types for pages, categories, or paragraphs or sentences (the latter features were more common in pre-web systems). Links are usually also typed. The source, property, and target may be determined by some defaults, e.g. in Semantic MediaWiki the source is always the current page.
Reflexivity also varies. More reflexive user interfaces provide strong ontology
Ontology is the philosophical study of existence, being. It is traditionally understood as the subdiscipline of metaphysics focused on the most general features of reality. As one of the most fundamental concepts, being encompasses all of realit ...
support from within the wiki, and allow it to be loaded, saved, created, and changed.
Some wikis inherit their ontology entirely from a pre-existing strong ontology like Cyc
Cyc (pronounced ) is a long-term artificial intelligence (AI) project that aims to assemble a comprehensive ontology and knowledge base that spans the basic concepts and rules about how the world works. Hoping to capture common sense knowledge ...
or SKOS
Simple Knowledge Organization System (SKOS) is a W3C recommendation designed for representation of thesauri, classification schemes, taxonomies, subject-heading systems, or any other type of structured controlled vocabulary. SKOS is part of t ...
, while, on the other extreme, in other semantic wikis the entire ontology is generated by users.
Conventional, non-semantic wikis typically still have ways for users to express data and metadata, typically by tagging, categorizing, and using namespace
In computing, a namespace is a set of signs (''names'') that are used to identify and refer to objects of various kinds. A namespace ensures that all of a given set of objects have unique names so that they can be easily identified.
Namespaces ...
s. In semantic wikis, these features still typically exist, but integrated these with other semantic declarations, and sometimes with their use restricted.
Some semantic wikis provide reasoning
Reason is the capacity of consciously applying logic by drawing valid conclusions from new or existing information, with the aim of seeking the truth. It is associated with such characteristically human activities as philosophy, religion, scien ...
support, using a variety of engines. Such reasoning may require that all instance data comply with the ontologies.
Most semantic wikis have simple querying support (such as searching for all triples with a certain subject, predicate, object), but the degree of advanced query support varies; some semantic wikis provide querying in standard languages like SPARQL
SPARQL (pronounced ":wikt:sparkle, sparkle", a recursive acronym for SPARQL Protocol and RDF Query Language) is an RDF query language—that is, a Semantic Query, semantic query language for databases—able to retrieve and manipulate data sto ...
, while others instead provide a custom language. User interface support to construct these also varies. Visualization of the links especially may be supported.
Many semantic wikis can display the relationships between pages, or other data such as dates, geographical coordinates, and number values, in various formats, such as graphs, tables, charts, calendars, and maps.
See also
* Microformats
Microformats (μF) are predefined HTML markup (like HTML classes) created to serve as descriptive and consistent metadata about HTML element, elements, designating them as representing a certain type of data (such as address book, contact info ...
* Ontology
Ontology is the philosophical study of existence, being. It is traditionally understood as the subdiscipline of metaphysics focused on the most general features of reality. As one of the most fundamental concepts, being encompasses all of realit ...
* RDF, RDFS, OWL, SPARQL
SPARQL (pronounced ":wikt:sparkle, sparkle", a recursive acronym for SPARQL Protocol and RDF Query Language) is an RDF query language—that is, a Semantic Query, semantic query language for databases—able to retrieve and manipulate data sto ...
* Business Intelligence 2.0 (BI 2.0)
*Software and websites:
** Semantic MediaWiki
** Freebase
** Gardenology.org
** Math Images Project
** Metavid
** NeuroLex
** OpenEI
** SKYbrary
** SNPedia
*Wikidata
Wikidata is a collaboratively edited multilingual knowledge graph hosted by the Wikimedia Foundation. It is a common source of open data that Wikimedia projects such as Wikipedia, and anyone else, are able to use under the CC0 public domain ...
References
External links
Semantic wiki
article a
SemanticWeb.org
SemanticWiki mini-series
- a mini-series of online conferences about semantic wikis that ran in 2008 and 2009.
Semantic MediaWiki
Website
{{Semantic Web
Semantic wiki software