DBpedia domains and URIs: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(<nowiki> for links)
(tables)
Line 1: Line 1:
* Ontology will always remain at <nowiki>http://dbpedia.org/ontology/</nowiki>
== Long-term goals ==
* Datatypes will always remain at <nowiki>http://dbpedia.org/datatype/</nowiki> (currently not de-referencable... wrong server setting?)
 
* All languages use <nowiki>http://xx.dbpedia.org/resource/</nowiki> and <nowiki>http://xx.dbpedia.org/property/</nowiki>
* All languages should use IRIs
* In the long run, English should also use <nowiki>http://en.dbpedia.org</nowiki>, but for the time being, it will use <nowiki>http://dbpedia.org/resource/</nowiki> and <nowiki>http://dbpedia.org/property/</nowiki>
 
* All languages should use IRIs. For now, English and French will keep URIs.
{| class="wikitable"
|-
! Items
! IRI pattern
|-
| Ontology classes and properties
| <nowiki>http://dbpedia.org/ontology/Xyz</nowiki>
|-
| Datatypes
| <nowiki>http://dbpedia.org/datatype/xyz</nowiki>
|-
| Resource IRI for <nowiki>http://xx.wikipedia.org/wiki/Xyz</nowiki>
| <nowiki>http://xx.dbpedia.org/resource/Xyz</nowiki>
|-
| Property extracted by generic template extractor
| <nowiki>http://xx.dbpedia.org/property/xyz</nowiki>
|}
 
== Deviations from these rules for backwards compatibility ==
 
* English and French use URIs, not IRIs. DBpedia Berlin will publish additional datasets with IRIs, but the main datasets will use URIs.
 
{| class="wikitable"
|-
! Items
! IRI pattern
|-
| Resource URI for <nowiki>http://en.wikipedia.org/wiki/Xyz</nowiki>
| <nowiki>http://dbpedia.org/resource/Xyz</nowiki>
|-
| Property extracted by generic template extractor from <nowiki>http://en.wikipedia.org/</nowiki> pages
| <nowiki>http://dbpedia.org/property/xyz</nowiki>
|}
 
 
==== 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 22:14, 14 May 2012

Long-term goals

  • All languages should use IRIs
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
Property extracted by generic template extractor http://xx.dbpedia.org/property/xyz

Deviations from these rules for backwards compatibility

  • 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
Property extracted by generic template extractor from http://en.wikipedia.org/ pages http://dbpedia.org/property/xyz


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)