On 2012-05-23 19:10, Christoph Lauer wrote:
The template I wrote was for the english wiktionary. I'm not sure what you mean by source format; the entry layouts follow the XML standard as described here: http://wiktionary.dbpedia.org/ (just to make sure we're not talking cross purposes ;-) ).
It is indeed confusing that the DBpedia webpage you link to points to this mailing list. It would be really helpful if Jonas Brekle would edit that page to include an introduction on what Wiktionary is (www.wiktionary.org and associated wiki sites in many languages, a project of the Wikimedia Foundation), and explain that his DBpedia project (wiktionary.dbpedia.org) is something else.
The formats delivered by Wiktionary are the live wiki sites and the XML database dumps that you get from http://dumps.wikimedia.org/backup-index.html
Somebody (Jonas?) at DBpedia probably uses the XML dump (?) and transforms that into something that is your source format. I'm not familiar with that transform. I only know Wiktionary.
Wiktionary, like any wiki, is created by many individuals for the instant reward of seeing the result. The sometimes inconsistent use of different wiki templates does not matter, as long as we only care for the human-readable HTML that the wiki shows. For example, instead of the line # {{sv-adj-form-abs-indef-n|ovedersäglig}} I could have written in plain wiki text # ''absolute indefinite neuter form of'' '''[[ovedersäglig]]''' [[Category:Swedish adjective forms]] which produces exactly the same HTML output, even though it would be near impossible to parse for DBpedia.
If you (Jonas) want to extract useful structured data, you need to show that result to the people who edit the wiki, so they can understand where they used the wrong wiki templates or formats. If you parse the XML dumps and find ==Swedish== without any of the proper Swedish form-of templates or declension/conjugation templates, something is probably wrong, and needs fixing.
Interesting that the english subcategoy is practically empty whereas the http://wiktionary.dbpedia.org/page/took. There's no reference to the base form, so I would like to add it. Thats what it's all about ;-)
The English Wiktionary's entry "took" contains the line # {{simple past of|take}} where lang=en is the default parameter.