The mappings are published on the website http://mappings.dbpedia.org , the English documentation is available this page.
This is a mediawiki, different data DBpedia there are published:
To be able to edit the wiki, first create an account on it. In order to obtain editing rights you will then have to register on the DBPedia Forum, where you will have to introduce yourself on the la page dédiée.
For a class is defined by a model {{Class}} in the page in the namespace OntologyClass: with the class name.
For example the class http://dbpedia.org/ontology/Person is defined in the http://mappings.dbpedia.org/index.php/OntologyClass:Person which contains:
The class name is given by the name of the page that contains this model (by Person), the model also contains the fields:
Useful links:
Each property is defined in the page in the OntologyProperty namespace. With the name of the property
Two models are used according to whether it is
The fields of these models are the same, the only difference is the accepted values for the field rdfs: range. For example
http://dbpedia.org/ontology/locationCity property is in the http://mappings.dbpedia.org/index.php/OntologyProperty:LocationCity which contains:
The field rdfs: range should contain a class defined in the wiki.
The property is defined http://dbpedia.org/ontology/birthDate in the http://mappings.dbpedia.org/index.php/OntologyProperty:BirthDate which contains:
The field rdfs: range should contain either a datatype XSD, a datatype defined in the DBpedia ontology (see the following paragraph about the edition of the datatype).
Other fields are common:
Useful links :
Datatypes (or data types) used to define the types of missing values vocabulary XSD alone, mostly for defining units (centimeter, liter ...)
Each data type is defined by a template {{datatype}} in the page in the datatype namespace. with the name of the data type
For example, http://dbpedia.org/ontology/Currency is defined in the http://mappings.dbpedia.org/index.php/Datatype:Currency that contains: Holiday
Useful links :
The models (template in English), especially the infoboxes are used to provide factual information on the described items. Different models are used depending on the type of the subject described (Artist, Building, Event ...)
Each template contains a list of attributes that contain the values describing the subject. The meaning of the attributes depends on the model, for example in the Infobox Museum, the country attribute specifies the location of the museum, while in the Infobox Cyclist it means the sport nationality of the rider.
The mappings allow two things:
The mapping of a model of French Wikipedia is defined by a model {{ TemplateMapping }} to a page of the namespace Mapping_fr followed by the model name. For example, the mapping model [ Infobox Referee ] is defined in the http://mappings.dbpedia.org/index.php/Mapping_fr:Infobox_Arbitre which contains:
The field mapToclass precise the class associated to the mapped model, here all the instances where the Wikipedia article contains a [Infobox Arbitre] will be typed as http://dbpedia.org/ontology/Referee. But the class need to be definied first in the wiki. The mapping field contains all the mapping attributes (called here template properties). The attributes mappings are defined in the model { {PropertyMapping} } with the following fields :
Sometimes, some properties are not given as an attribute, but implicitly by choosing a model, for example using the template Infobox commune of France implies that the municipality is in France. The model {{ ConstantMapping }} which is used in the mapping allows to introduce the implicit property:
The ontologyProperty means the property to use for the generated triplet, the Value contains either a literal in the case of an owl property type: DatatypeProperty or an instance without the prefix (here France ).
Sometimes it is necessary to gather information, for example to describe the different positions occupied by people during his career must consolidate the nature of the position with the dates of beginning and end. In RDF, this is achieved by introducing intermediate nodes (also called white nodes if they have no public identifier). For example, the article on Arlette Laguiller mention two items:
The introduction of intermediate nodes db-fr: Arlette Laguiller __1 and db-fr: Arlette_Laguiller__2 provides the following representation:
This is achieved using a model {{IntermediateNodeMapping}} in the field mappings. The result of the example of Arlette Laguiller is obtained with the [Infobox Personnalité politique]:
Sometimes the same model is used to describe different types of subjects that is specified in a field. For example the model Infobox Catholic Prelate is used to describe the ready, Cardinals and popes, the title specifies the type. The model {{ConditionnalMapping}} to define the type to give instances as the value taken by the attribute title :
This model is used by top models {{Mapping Template}}, it contains two fields:
The model {{condition}} establish a condition and mappings to be applied if the condition is satisfied: