Hi everyone,
Summary: We are looking for ways of how to map individual triples from DBpedia to something that can be consumed by the Wikidata API.
Long story: Denis Lukovnikov is a Google summer of code student, working on new and pretty user interface for DBpedia. A demo of the work in progress can be found at [1].
Besides the new design, a further goal of the project is to offer a framework for triple-level actions. One of the planned actions is about pushing DBpedia triples to Wikidata:
For example, I notice that the Wikidata page for my home town "Berndorf in Lower Austria" does not contain the population: http://www.wikidata.org/wiki/Q666615
Looking at the corresponding DBpedia entry, this information actually exists there: http://dbpedia.org/resource/Berndorf,_Lower_Austria
The new DBpedia interface should offer a button next to the "population 8728" triple which enables transfer of this information to Wikidata.
In another GSoC project, Hady Elsahar is working on mappings between the wikidata RDF vocabulary and the DBpedia vocabulary. This means, we can in principle map DBpedia RDF data to Wikidata RDF.
However, looking at the Wikidata API [2] there is
action=wbcreateclaim * with the example:
api.php?action=wbcreateclaim&entity=q42&property=p9001&snaktype=novalue&token=foobar&baserevid=7201010
So the core question is, how can we map e.g. properties such as wikidata:population (if that existed) to their respective Wikidata property identifier (Q12345)? This goes for any property that may occur in an RDF dump, such as: http://www.wikidata.org/wiki/Special:EntityData/Q666615.nt
Ideally I think we are looking for either a Wikidata service or a dataset similar to [3] what is what we have done in the LinkedGeoData Project: In this project, we map OpenStreetMap (OSM) data to RDF, and we maintain our RDF mappings in the database [3] together with the original OSM data. Then we use an RDB2RDF mapper configured with the view definitions in [4] to expose the relational database as Linked Data [5] and a virtual SPARQL endpoint [6].
Cheers, Claus [1] WiP demo: http://dbpv.cstadler.aksw.org/#/page/Berndorf,_Lower_Austria (currently loading may take a while for pages with many inverse statements). [2] WikiData API: http://www.wikidata.org/w/api.php [3] Raw-Data to RDF mappings for OpenStreetMap: https://github.com/GeoKnow/LinkedGeoData/blob/master/linkedgeodata-core/src/... [4] RDB2RDF view definitions: https://github.com/GeoKnow/LinkedGeoData/blob/master/linkedgeodata-core/src/... [5] Eiffel Tower resource: http://linkedgeodata.org/page/triplify/way5013364 [6] Explanation of the unterlying SQL: http://linkedgeodata.org/vsnorql/?query=Explain+Select+*+%7B+%3Chttp%3A%2F%2...