forked from dbpedia/extraction-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
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/
- open wikidata properties list
- check properties mapped already and most important ones to map from this google doc
http://bit.ly/186ExYgor 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
- for each property search for it in the mappings wiki, mappings page searrch
- edit the page and add the mappings line in the form of
wikidata:Pxxwhere 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:deathDateto be :| owl:equivalentProperty = schema:deathDate, wikidata:P570
- update properties you edited in the Mappings google doc by marking it with red
- http://mappings.dbpedia.org/index.php/OntologyProperty:Author
- http://mappings.dbpedia.org/index.php/OntologyProperty:KilledBy
- http://mappings.dbpedia.org/index.php/OntologyProperty:BirthPlace
- http://mappings.dbpedia.org/index.php/OntologyProperty:DeathCause
curl -s -S http://mappings.dbpedia.org/server/ontology/dbpedia.owl | rapper -I - - file -o ntriples | grep http://www.wikidata.org/entity/