Semantic MediaWiki

Developer(s)| various
Written in| PHP
Type| MediaWiki extension
License| GPL-2.0-or-later
Website| www.semantic-mediawiki.org

Semantic MediaWiki (SMW) is an extension to MediaWiki that allows for annotating semantic data within wiki pages, thus turning a wiki that incorporates the extension into a semantic wiki. Data that has been encoded can be used in semantic searches, used for aggregation of pages, displayed in formats like maps, calendars and graphs, and exported to the outside world via formats like RDF and CSV.

## Contents

* 1 Authors
* 2 Basic syntax
* 3 Usage
* 4 Semantic MediaWiki and Wikidata
* 5 Spinoff extensions
* 6 Community
* 7 See also
* 8 References
* 9 Further reading
* 10 External links

## Authors

Semantic MediaWiki was initially created by Markus Krötzsch, Denny Vrandečić and Max Völkel, and was first released in 2005. Its development was initially funded by the EU-funded FP6 project SEKT (CORDIS site), and was later supported in part by Institute AIFB of the University of Karlsruhe (later renamed the Karlsruhe Institute of Technology). Currently SMW is maintained by an open-source-community on GitHub with Jeroen De Dauw as one of the lead maintainers.

## Basic syntax

Every semantic annotation within SMW is a "property" connecting the page on which it resides to some other piece of data, either another page or a data value of some type, using triples of the form "subject, predicate, object".

As an example, a page about Germany could have, encoded within it, the fact its capital city is Berlin. On the page "Germany", the syntax would be:

... the capital city is Has capital::Berlin ...

which is semantically equivalent to the statement "Germany" "Has capital" "Berlin". In this example the "Germany" page is the subject, "Has capital" is the predicate, and "Berlin" is the object that the semantic link is pointing to.

However, the much more common way of storing data within Semantic MediaWiki is via MediaWiki templates which themselves contain the necessary SMW markup.

For this example, the "Germany" page could contain a call to a template called "Country", that looked like this:

{{Country
...
| Capital = Berlin
...

The "Country" template would handle storing whatever the value of the parameter "Capital" is, using the property "Has capital". The template would also handle the display of the data. Semantic MediaWiki developers have estimated that 99% of SMW data is stored in this way.[1]

Semantic MediaWiki also has its own inline querying tools. For instance, if pages about countries stored additional information like population data, a query could be added to a page that displays a list of all countries with a population greater than 50 million, along with their capital city; and Germany would appear in such a list, with Berlin alongside it.[2]

## Usage

Semantic MediaWiki is in use on over 1,600 public active wikis around the world, in addition to an unknown number of private wikis.[3][4] Notable public wikis that use SMW include the Metacafe wiki, Web Platform, SNPedia, SKYbrary, Metavid, Familypedia, OpenEI,[5] the Libreplanet wiki, the Free Software Directory[6] and translatewiki.net.[7]

Organizations that use SMW internally include Pfizer,[8] Harvard Pilgrim Health Care,[9] Johnson & Johnson Pharmaceutical Research and Development,[10] the Pacific Northwest National Laboratory,[11] the Metropolitan Museum of Art,[12] NATO,[13] U.S. Department of Defense,[14] and the International Atomic Energy Agency.

SMW has notably gained traction in the health care domain for collaboratively creating bio-medical terminologies and ontologies.[15] Examples are LexWiki,[16] which is jointly run by the Mayo Clinic, National Cancer Institute, World Health Organization and Stanford University; and Neuroscience Information Framework's NeuroLex.

Semantic MediaWiki used to be supported on the now-defunct wiki farm Referata,[17] by default.[18] Fandom has previously activated Semantic MediaWiki on user request, but has stopped doing so since upgrading to version 1.19 of MediaWiki; Fandom wikis, such as Familypedia, that had started using it are able to continue.

## Semantic MediaWiki and Wikidata

Some members of the academic community began urging the use of SMW on Wikipedia since it was first proposed.[19] In a 2006 paper, Max Völkel et al. wrote that in spite of Wikipedia's utility, "its contents are barely machine-interpretable. Structural knowledge, e.g. about how concepts are interrelated, can neither be formally stated nor automatically processed. Also the wealth of numerical data is only available as plain text and thus can not be processed by its actual meaning."[20]

The Wikimedia community began adding semantic microformat markup to Wikipedia[21] in 2007. In 2010, Wikimedia Foundation Deputy Director Erik Möller stated that Wikimedia was interested in adding semantic capabilities to Wikipedia, but that they were unsure whether Semantic MediaWiki was the right solution, since it was unclear whether it could be used without negatively affecting Wikipedia's performance.[22]

In April 2012, the Wikimedia Foundation project Wikidata began, which provides a massive shared database for use in articles of every language in Wikipedia, and other Wikimedia projects. Its content is also freely available to anyone else.[4] Wikidata supplants the potential use of Semantic MediaWiki on Wikipedia, its software uses Wikibase.[23]

## Spinoff extensions

A form to edit a page, using the Semantic Forms extension

A variety of open-source MediaWiki extensions exist that use the data structure provided by Semantic MediaWiki.[24] Among the most notable are:

* Page 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 faceted browser interface for viewing the semantic data in a wiki
* Maps - displays geographic semantic data using various mapping services

## Community

The official gathering for Semantic MediaWiki developers and users is SMWCon, which has been held twice a year since 2010, in various cities in the United States and Europe.[25] The largest such event, in October 2013 in Berlin, had around 90 attendees.[26] The first virtual SMWCon 2020 attracted 234 attendees.[27]

## See also

* DBpedia
* Freebase
* OntoWiki

## References

1. ↑ "semantic templates help". Semantic MediaWiki. https://www.semantic-mediawiki.org/wiki/Help:Semantic_templates.
2. ↑ "inline queries help". Semantic MediaWiki. 2011-06-22. https://www.semantic-mediawiki.org/wiki/Help:Inline_queries.
3. ↑ "Semantic MediaWiki website count". WikiApiary. https://wikiapiary.com/wiki/Extension:Semantic_MediaWiki.
4. ↑ 4.0 4.1 "Semantic MediaWiki Frequently-Asked Questions". Semantic-mediawiki.org. 2011-06-09. https://www.semantic-mediawiki.org/wiki/FAQ.
5. ↑ DOE Launches New Website to Bring Energy Technology Information to the Public , press release, December 9, 2009
6. ↑ "Semantic MediaWiki testimonials page". Semantic-mediawiki.org. 2011-06-30. https://www.semantic-mediawiki.org/wiki/Testimonials.
7. ↑ Bry, Francois; Schaffert, Sebastian; Vrandecic, Denny; Weiand, Klara (2012). "Semantic Wikis: Approaches, Applications, and Perspectives". Reasoning Web. Semantic Technologies for Advanced Query Answering. Lecture Notes in Computer Science. 7487. pp. 329–369. doi:10.1007/978-3-642-33158-9_9. ISBN 978-3-642-33157-2. In the article, it's provided as example of "Novel Semantic Wiki Applications"; according to the authors, «Semantic wikis could be used to contribute to the semi-automatisation of the translation process by making explicit the multi-lingual correspondences between texts».
8. ↑ "Bio-IT World 2009, Track 3". Bio-itworldexpoeurope.com. http://www.bio-itworldexpoeurope.com/Bio-It_Europe_Content.aspx?id=90726.
9. ↑ Wikify Your Metadata! Integrating Business Semantics, Metadata Discovery, and Knowledge Management , March 16, 2010, EnterpriseDataWorld Conference Schedule
10. ↑ knowIT, a semantic informatics knowledge management system, WikiSym 2009, Laurent Alquier, Keith McCormick and Ed Jaeger
11. ↑ "Semantic MediaWiki Projects at the Pacific Northwest National Laboratory". Wiki.ontoprise.com. http://wiki.ontoprise.com/smwforum/index.php/PNNL_Talk.
12. ↑ Bringing the Semantic Web to Museums , Paul Miller, January 27, 2009
13. ↑ Use of SMW for Enterprise Architecture, SMWCon Spring 2014
14. ↑ Flexible, purposive SMW use, SMWCon Spring 2010, Clarence Dillon
15. ↑ Semantic Wikis: A Comprehensible Introduction with Examples from the Health Sciences. Maged N. Kamel Boulos. Journal of Emerging Technologies in Web Intelligence, Vol. 1, No. 1, August 2009.
16. ↑ "LexWiki and LexWiki Publisher". National Cancer Institute. 2015-04-30. https://wiki.nci.nih.gov/display/LexWiki/.
17. ↑ "Referata". Referata. 2011-06-28. http://referata.com/.
18. ↑ Get Your MediaWiki Hosting Here , Jennifer Zaino, SemanticWeb.com, December 1, 2008
19. ↑ Markus Krötzsch; Denny Vrandecic; Denny Vr; Max Völkel (2005), Wikipedia and the Semantic Web – The Missing Links, Proceedings of Wikimania 2005
20. ↑ M Völkel; M Krötzsch; D Vrandecic (2006), Semantic MediaWiki, Proceedings of the 15th international conference on World Wide Web, p. 585, doi:10.1145/1135777.1135863, ISBN 1-59593-323-9, http://portal.acm.org/citation.cfm?id=1135863
21. ↑ Heilman, Chris (2009-01-19). "Retrieving and displaying data from Wikipedia with YQL". Yahoo Developer Network. Yahoo. http://developer.yahoo.net/blog/archives/2009/01/wikipedia_w_yql.html.
22. ↑ Wikipedia to Add Meaning to Its Pages , Tom Simonite, Technology Review, July 7, 2010
23. ↑ "Wikibase — Home". http://wikiba.se.
24. ↑ List of Semantic MediaWiki extensions.
25. ↑ "SMWCon homepage". semantic-mediawiki.org. https://www.semantic-mediawiki.org/wiki/SMWCon.
26. ↑ "SMWCon Fall 2013 a big success". semantic-mediawiki.org. http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013_a_big_success.
27. ↑ @SemanticMW (26 November 2020). "The largest ever #SMWCon is over! Thank you to 234 (!) people attending and first and formost our incredible speake…". https://twitter.com/SemanticMW/status/1332061863782313987.

## Further reading

* Software could add meaning to 'wiki' links, Matthew Sparkes, New Scientist, June 7, 2006
* Markus Krötzsch, Denny Vrandecic, Max Völkel, Heiko Haller, Rudi Studer: Semantic Wikipedia. Journal of Web Semantics 5/2007, December 2007.
* Script error: The function "in_lang" does not exist. Struktur fürs Wiki, Rolf Strathewerd, Linux-Magazin, July 2009
* Smart, P. R.; Braines, D.; Bao, J.; Mott, D.; Huynh, T. D.; Shadbolt, N.: Supporting Distributed Coalition Planning with Semantic Wiki Technology . In: 4th Annual Conference of the International Technology Alliance (ACITA'10).
* Krabina, Bernhard: The Vienna History Wiki - a Collaborative Knowledge Platform for the City of Vienna . Proceedings of the 11th International Symposium on Open Collaboration (OpenSym 2015). ACM, 2015.
* Krabina, Bernhard: Building a Knowledge Graph for the History of Vienna with Semantic MediaWiki. Journal of Web Semantics, Volume 76/2023, ISSN 1570-8268.

## External links

* No URL found. Please specify a URL here or add one to Wikidata.

* v
* t
* e

Semantic Web

Background|

* Databases
* Hypertext
* Internet
* Ontologies
* Semantics
* Semantic networks
* World Wide Web

Sub-topics|

* Dataspaces
* Hyperdata
* Linked data
* Rule-based systems

Applications|

* Semantic analytics
* Semantic broker
* Semantic computing
* Semantic mapper
* Semantic matching
* Semantic publishing
* Semantic reasoner
* Semantic search
* Semantic service-oriented architecture
* Semantic wiki

Related topics|

* Collective intelligence
* Description logic
* Folksonomy
* Geotagging
* Information architecture
* Knowledge extraction
* Knowledge management
* Knowledge representation and reasoning
* Library 2.0
* Digital library
* Digital humanities
* Metadata
* References
* Topic map
* Web 2.0
* Web engineering
* Web Science Trust

Standards|

| Syntax and supporting technologies|

* HTTP
* IRI
* URI
* RDF
* triples
* RDF/XML
* JSON-LD
* Turtle
* TriG
* Notation3
* N-Triples
* TriX (no W3C standard)
* RRID
* SPARQL
* XML
* Semantic HTML

|

Schemas, ontologies and rules|

* Common Logic
* OWL
* RDFS
* Rule Interchange Format
* Semantic Web Rule Language
* ALPS
* SHACL

Semantic annotation|

* eRDF
* GRDDL
* Microdata
* Microformats
* RDFa
* SAWSDL
* Facebook Platform

Common vocabularies|

* DOAP
* Dublin Core
* FOAF
* Schema.org
* SIOC
* SKOS

Microformat vocabularies|

* hAtom
* hCalendar
* hCard
* hProduct
* hRecipe
* hResume
* hReview

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Semantic MediaWiki. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Semantic_MediaWiki&oldid=4221368"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template