|
From: Jona C. S. <jc...@sa...> - 2012-05-15 16:03:19
|
Hi,
it's great that there are mappings for more and more languages, but
adding a mapping namespace is quite an elaborate task, partly because
the ontology templates [1][2][3][4] use properties like
"rdfs:label@en", "rdfs:label@de" etc. and we have to update all four
templates when we add a new language.
To make that easier, I added Template:Label [5] and Template:Comment
[6] and added code to OntologyLoader.scala that parses them.
Instead of "rdfs:label@en=foo", please use {{label|en|foo}} in the
future. Similar for comments. See the documentation of the ontology
templates [1][2][3][4] for details.
And please, whenever you edit an ontology item, change it to the new
format for labels and comments. It only takes a minute. :-) When all
old labels are comments are gone, we can remove the old code.
Cheers,
JC
[1] http://mappings.dbpedia.org/index.php/Template:Class
[2] http://mappings.dbpedia.org/index.php/Template:Datatype
[3] http://mappings.dbpedia.org/index.php/Template:DatatypeProperty
[4] http://mappings.dbpedia.org/index.php/Template:ObjectProperty
[5] http://mappings.dbpedia.org/index.php/Template:Label
[6] http://mappings.dbpedia.org/index.php/Template:Comment
|