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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion