Writing Mappings/Tables

From DBpedia Mappings
Revision as of 13:01, 8 March 2010 by Admin (talk | contribs)
Jump to navigationJump to search

Table mappings apply to tables containing a set of keywords in the table header.

If a table mapping is defined, all rows of the table are mapped to instances of an ontology class, all of its columns are be mapped to ontology properties.

How to map a Wikipedia table

  • Find important and unique keywords in the table header.
  • Create a wiki page in this wiki in the Mapping namespace, using the Table prefix. You can define more than one table mapping on one wiki page. The wiki page name doesn't have to refer to any of the table keywords. Bundling table mappings depending on the table topic could be useful.
  • Decide on the ontology class you would like to map the table to.
  • Write a Template:TableMapping to map the Wikipedia table rows to an ontology class and save it to the created wiki page in the Mapping namespace.


The full documentation on writing mappings can be found via the DBpedia SVN Repository.