DBpedia domains and URIs: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
Line 22: Line 22:
|}
|}


== Deviations from these rules for backwards compatibility ==
== Current deviations from these rules ==
 
In the past, we did not follow these rules. For backwards compatibility, we will allow some deviations for a while.


* English and French use URIs, not IRIs. DBpedia Berlin will publish additional datasets with IRIs, but the main datasets will use URIs.
* English and French use URIs, not IRIs. DBpedia Berlin will publish additional datasets with IRIs, but the main datasets will use URIs.
Line 42: Line 44:
* We used to map page titles from non-English Wikipedias to IRIs using the inter-language link to the English Wikipedia. If there was no such inter-language, we did not extract any data from the page. That was because we used URIs like <nowiki>http://dbpedia.org/resource/Xyz</nowiki> for ''all'' languages and had to 'normalize' them. We will ''not'' do that anymore - we use <nowiki>http://xx.dbpedia.org/resource/Xyz</nowiki> IRIs.
* We used to map page titles from non-English Wikipedias to IRIs using the inter-language link to the English Wikipedia. If there was no such inter-language, we did not extract any data from the page. That was because we used URIs like <nowiki>http://dbpedia.org/resource/Xyz</nowiki> for ''all'' languages and had to 'normalize' them. We will ''not'' do that anymore - we use <nowiki>http://xx.dbpedia.org/resource/Xyz</nowiki> IRIs.


==== Implementation details ====
=== Implementation details ===


* During the extraction, the framework will use http://'''xx'''.dbpedia.org/ '''IRI'''s for '''all''' languages. Different serializers will serializes them differently, according to some rules
* During the extraction, the framework will use http://'''xx'''.dbpedia.org/ '''IRI'''s for '''all''' languages. Different serializers will serializes them differently, according to some rules
** convert en.dbpedia.org to dbpedia.org
** convert en.dbpedia.org to dbpedia.org
** convert IRIs to URIs for some languages (in subjects, predicates and objects)
** convert IRIs to URIs for some languages (in subjects, predicates and objects)

Revision as of 23:17, 14 May 2012

Long-term goals

  • All languages use IRIs
  • DBpedia chapters
Items IRI pattern
Ontology classes and properties http://dbpedia.org/ontology/Xyz
Datatypes http://dbpedia.org/datatype/xyz
Resource IRI for http://xx.wikipedia.org/wiki/Xyz http://xx.dbpedia.org/resource/Xyz
Properties extracted by generic template extractor http://xx.dbpedia.org/property/xyz

Current deviations from these rules

In the past, we did not follow these rules. For backwards compatibility, we will allow some deviations for a while.

  • English and French use URIs, not IRIs. DBpedia Berlin will publish additional datasets with IRIs, but the main datasets will use URIs.
Items IRI pattern
Resource URI for http://en.wikipedia.org/wiki/Xyz http://dbpedia.org/resource/Xyz
Properties extracted by generic template extractor from http://en.wikipedia.org/ pages http://dbpedia.org/property/xyz

Notes

  • We used to map page titles from non-English Wikipedias to IRIs using the inter-language link to the English Wikipedia. If there was no such inter-language, we did not extract any data from the page. That was because we used URIs like http://dbpedia.org/resource/Xyz for all languages and had to 'normalize' them. We will not do that anymore - we use http://xx.dbpedia.org/resource/Xyz IRIs.

Implementation details

  • During the extraction, the framework will use http://xx.dbpedia.org/ IRIs for all languages. Different serializers will serializes them differently, according to some rules
    • convert en.dbpedia.org to dbpedia.org
    • convert IRIs to URIs for some languages (in subjects, predicates and objects)