Dbnary: Wiktionary as a LMF based Multilingual RDF network
Summary
Wiktionary is a large, free, multilingual dictionary with definitions and many translations. Its entries, however, are written in MediaWiki markup that describes page layout rather than lexical structure. Each language edition follows its own conventions, and these change over time, so earlier ad-hoc extractions quickly went stale. Sérasset presents dbnary, an open-source extractor that builds a lexical network from the English, French and German Wiktionary dumps.
Each page is parsed by a Java finite-state automaton. A shared abstract class captures the common entry layout, and language-specific subclasses handle each edition's details. Rather than forcing all editions into one uniform but impoverished schema, dbnary uses a simple LMF-inspired model of entries, lemmas, senses, definitions, lexico-semantic relations and translation equivalents. The output is published as RDF.
The resulting networks range from about 1 million to 2.1 million nodes per edition. Because the data is in RDF, it works directly with Semantic Web tools such as SPARQL engines and reasoners, and it can support multilingual ontology alignment. The stated long-term aim is to be for Wiktionary what dbpedia is for Wikipedia.
Key points
- Inputs and performance:
- The input dumps measured 4.1 Gb for the English edition, 3.1 Gb for the French one, and 631 Mb for the German one.
- Extracting the full English edition takes about 4 minutes on a 2.67 GHz Intel Xeon with roughly 800 Mb of RAM, since the whole network is held in memory.
- Network sizes:
- English: 2,102,780 nodes, including 414,929 entries and 497,204 translation equivalents.
- French: 1,669,375 nodes.
- German: 1,040,105 nodes.
- Data model:
- Homonyms stay grouped under a single Wiktionary page entry.
- Translations are kept even when they cannot be reliably tied to a specific sense.
- Quasi-synonyms (qsyn) appear only in the French edition.
- Known issues:
- German has an unexpectedly high relation count (215,085), possibly caused by nested macros that the automata parse poorly.
- The English extractor does not yet handle inflected forms correctly.
- Availability: Data is at kaiko.getalp.org/dbnary and code at dbnary.forge.imag.fr. Portuguese support is in progress, and the work was funded under ANR's Videosense project.
Topics Multilingual & cross-lingual NLP Knowledge graphs & ontologies
Institutions
Cite
Cite as Gilles Sérasset. 2012. Dbnary: Wiktionary as a LMF based Multilingual RDF network. Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12).
@inproceedings{serasset2012dbnary,
title = {{Dbnary: Wiktionary as a LMF based Multilingual RDF network}},
author = {Gilles Sérasset},
booktitle = {Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12)},
year = {2012},
doi = {10.63317/4byhan5jtqdz},
url = {https://doi.org/10.63317/4byhan5jtqdz}
}References
- Vincent Archer. 2010. MuLLinG: MultiLevel Linguistic Graphs for Knowledge Extraction. In Proceedings of TextGraphs-5 - ACL-2010 Workshop on Graph-based Methods for Natural Language, pages 69–73. Association for Computational Linguistics. find
- Sören Auer, Christian Bizer, Georgi Kobilarov, Jens Lehmann, and Zachary Ives. 2007. Dbpedia: A nucleus for a web of open data. In In 6th Int’l Semantic Web Conference, Busan, Korea, pages 11–15. Springer. find
- David Beckett, Tim Berners-Lee, and Eric Prud’hommeaux. 2011. Turtle - terse RDF triple language. W3c working draft 09 august 2011, W3C, August 2011. find
- M. Duerst and M. Suignard. 2005. Internationalized resource identifiers (iris). Rfc 3987, IETF. find
- Gil Francopoulo, Monte George, Nicoletta Calzolari, Monica Monachini, Nuria Bel, Mandy Pet, and Claudia Soria. 2006. Lexical Markup Framework (LMF). In International Conference on Language Resources and Evaluation - LREC 2006, Gênes/Italie. elra. LIRICS. our card
- ISO639-1. 2002. Codes for the representation of names of languages — part 1: Alpha-2 code. ISO 639-1:2002. find
- ISO639-3. 2007. Codes for the representation of names of languages — part 3: Alpha-3 code for comprehensive coverage of languages. ISO 639-3:2007. find
- Graham Klyne and Jeremy J Carroll. 2004. Resource Description Framework (RDF): Concepts and Abstract Syntax. Structure, 10(February):1–20. find
- LMF. 2008. Language resource management – lexical markup framework. ISO 24613:2008. find
- Christian M. Meyer and Iryna Gurevych. 2012. Wiktionary: a new rival for expert-built lexicons? exploring the possibilities of collaborative lexicography. In Sylviane Granger and Magali Paquot, editors, Electronic Lexicography, page (to appear). Oxford: Oxford University Press. (pre-publication draf… our card
- Franck Sajous, Emmanuel Navarro, Bruno Gaume, Laurent Prévot, and Yannick Chudy. 2010. Semi-automatic Endogenous Enrichment of Collaboratively Constructed Lexical Resources: Piggybacking onto Wiktionary. In Hrafn Loftsson, Eirı́kur Rögnvaldsson, and Sigrún Hel-gadóttir, editors, Advances in Natu… find
- Franck Sajous. 2010. WiktionaryX: XML version of the free collaborative dictionary. http://redac.univ-tlse2.fr/lexiques/ wiktionaryx_en.html. ↗
- WikiMedia. 2012. Mediawiki. http://www.mediawiki.org/. ↗
- Torsten Zesch, Christof Müller, and Iryna Gurevych. 2008. Extracting Lexical Semantic Knowledge from Wikipedia and Wiktionary. In Proceedings of the Conference on Language Resources and Evaluation (LREC). find
This page in Markdown → https://md.research.elamur.ai/free/en/papers/serasset-2012-dbnary-wiktionary-as-lmf-based/