Skip to content

Mapping WikData to DBpedia properties

Andrea Di Menna edited this page Aug 29, 2013 · 16 revisions

this is a simple / fast steps to add properties mappings in Mappings: http://mappings.dbpedia.org/

  1. open wikidata properties list
  2. check properties mapped already and most important ones to map from this google doc http://bit.ly/186ExYg or check for properties number that is mapped already (more accurate because anyone can edit the document):
 curl -s -S http://mappings.dbpedia.org/server/ontology/dbpedia.owl | rapper -I - - file -o ntriples | grep http://www.wikidata.org/entity/ | awk -F " " '{print substr($3,34,length($3)-34)}' | sort -n 
  1. for each property search for it in the mappings wiki, mappings page searrch
  2. edit the page and add the mappings line in the form of wikidata:Pxx where xx is the property number for example :
  • for wikidata property P570 (Date of Death) search for DeathDate (that would work in most of properties) in DBpedia search you'll find the page http://mappings.dbpedia.org/index.php/OntologyProperty:DeathDate

  • edit the line : | owl:equivalentProperty = schema:deathDate to be : | owl:equivalentProperty = schema:deathDate, wikidata:P570

  1. update properties you edited in the Mappings google doc by marking it with red

for more examples check :

check for your updates if they are correct using the command line:

curl -s -S http://mappings.dbpedia.org/server/ontology/dbpedia.owl | rapper -I - - file -o ntriples | grep http://www.wikidata.org/entity/

Clone this wiki locally