Old Main Page: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
== DBpedia Mappings Wiki ==
== DBpedia Mappings Wiki ==
This is the DBpedia Mappings Wiki. Its contents are used by the DBpedia extraction framework. Here, you can edit
This is the DBpedia Mappings Wiki. Its contents are used by the DBpedia extraction framework. Here, you can edit
* the [[Edit_the_DBpedia_Ontology|DBpedia ontology schema]] (classes, properties, datatypes)
* the [[How_to_edit_the_DBpedia_Ontology|DBpedia ontology schema]] (classes, properties, datatypes)
* the [[Edit_DBpedia_Mappings|DBpedia infobox-to-ontology mappings]]
* the [[How_to_edit_DBpedia_Mappings|DBpedia infobox-to-ontology mappings]]


The DBpedia extraction framework collects the templates defined here and extracts the Wikipedia content according to them in [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF]. (''[[Use_the_DBpedia_Extraction_Framework|learn how]]'')
The DBpedia extraction framework collects the templates defined here and extracts the Wikipedia content according to them in [http://en.wikipedia.org/wiki/Resource_Description_Framework RDF]. (''[[Use_the_DBpedia_Extraction_Framework|learn how]]'')
Line 34: Line 34:


<u>Further information</u>:
<u>Further information</u>:
* '''[[Edit_the_DBpedia_Ontology|How to edit the ontology schema]]'''
* '''[[How_to_edit_the_DBpedia_Ontology|How to edit the ontology schema]]'''
* '''[[Edit_DBpedia_Mappings|How to edit infobox and table mappings]]'''
* '''[[How_to_edit_DBpedia_Mappings|How to edit infobox and table mappings]]'''


== Prerequisites ==
== Prerequisites ==

Revision as of 12:11, 7 July 2011

DBpedia Mappings Wiki

This is the DBpedia Mappings Wiki. Its contents are used by the DBpedia extraction framework. Here, you can edit

The DBpedia extraction framework collects the templates defined here and extracts the Wikipedia content according to them in RDF. (learn how)

Mappings can be written for a variety of languages, while the ontology schema is ought to be used for all of them.

Mapping Example

This is how you write a simple infobox mapping.

Mapping:Infobox_actor

{{TemplateMapping 
| mapToClass = Actor 
| mappings = 
   {{ PropertyMapping | templateProperty = name | ontologyProperty = foaf:name }}
   {{ PropertyMapping | templateProperty = birth_place | ontologyProperty = birthPlace }}
}}

This mapping extracts three information bits:

  1. the type information (Actor)
  2. the name of the actor
  3. the actor's place of birth.

Therefore, three RDF triples for each Infobox_actor in the English Wikipedia are extracted. For example for Vince Vaughn

dbpedia:Vince_Vaughn  rdf:type                dbpedia-owl:Actor .
dbpedia:Vince_Vaughn  foaf:name               "Vince Vaughn"@en .
dbpedia:Vince_Vaughn  dbpedia-owl:birthPlace  dbpedia:Minneapolis .

Further information:

Prerequisites

If you like to edit the mappings or ontology schema this is what you need:

  • a user account on this wiki (register)
  • editor rights
    • they will be given to you within a couple of days
    • if not, lease ask for editor rights at dbpedia-discussion@lists.sourceforge.net Max: question: should we make this dbpedia-developers? I don't think the whole discussion list cares about Heinz from Königs Wusterhausen getting editor rights
    • once you got editor rights, please provide some information about yourself on your user wiki page
  • a namespace for the language you want to write mappings for

That's it!

That is all you need to kick-start. To get more detailed information, please follow the provided links.

Your contributions will be available

Happy mapping!

About DBpedia

To learn more about DBpedia itself visit http://dbpedia.org/About.