Design and Implementation of the Sweble Wikitext Parser: Unlocking the Structured Data of Wikipedia

Dohrn H, Riehle D (2011)


Publication Language: English

Publication Type: Conference contribution, Original article

Publication year: 2011

Publisher: ACM Press

Edited Volumes: WikiSym 2011 Conference Proceedings - 7th Annual International Symposium on Wikis and Open Collaboration

Pages Range: 72-81

Conference Proceedings Title: Proceedings of the 7th International Symposium on Wikis and Open Collaboration

Event location: Mountain View

URI: http://dirkriehle.com/wp-content/uploads/2011/07/diwp.pdf

DOI: 10.1145/2038558.2038571

Abstract

The heart of each wiki, including Wikipedia, is its content. Most machine processing starts and ends with this content. At present, such processing is limited, because most wiki engines today cannot provide a complete and precise representation of the wiki's content. They can only generate HTML. The main reason is the lack of well-defined parsers that can handle the complexity of modern wiki markup. This applies to Media Wiki, the software running Wikipedia, and most other wiki engines. This paper shows why it has been so difficult to develop comprehensive parsers for wiki markup. It presents the design and implementation of a parser for Wikitext, the wiki markup language of MediaWiki. We use parsing expression grammars where most parsers used no grammars or grammars poorly suited to the task. Using this parser it is possible to directly and precisely query the structured data within wikis, including Wikipedia. The parser is available as open source from http://sweble.org. © 2011 ACM.

Authors with CRIS profile

How to cite

APA:

Dohrn, H., & Riehle, D. (2011). Design and Implementation of the Sweble Wikitext Parser: Unlocking the Structured Data of Wikipedia. In Proceedings of the 7th International Symposium on Wikis and Open Collaboration (pp. 72-81). Mountain View: ACM Press.

MLA:

Dohrn, Hannes, and Dirk Riehle. "Design and Implementation of the Sweble Wikitext Parser: Unlocking the Structured Data of Wikipedia." Proceedings of the WikiSym 2011, Mountain View ACM Press, 2011. 72-81.

BibTeX: Download