Last modified: 2013-05-13 10:35:04 UTC
For RDF dumps as well as the linked data interface, we need a way to convert entities to RDF, as defined in <https://meta.wikimedia.org/wiki/Wikidata/Development/RDF>. RDF serialization should be supported at least for RDF/XML and n-triples, but N3/Turtle would be very nice to have too. To allow us to create dumps of millions of entities, the RDF serialization component must be able to operate in streaming mode, outputting the header, then one entity after the other, then a footer.
We decided on EasyRDF (http://www.easyrdf.org) for modeling and exporting RDF after discussions on semantic-web@w3.org.
Good, but how is this "fixed"? Do we now have a method you can give an Entity, and it outputs RDF? easyrdf.org handles the low level RDF stuff, but not the binding to our PHP objects and data model, right? At least not without additional work... Reopening.
Ie9f2f89 provides a baseline, but the mapping is incomplete.
repurposing this ticket to refer to the baseline implementation only. For claims/statements, see bug 48141. Please create further follow-ups as blockers of the new tracking bug 48143.
Related URL: https://gerrit.wikimedia.org/r/62804 (Gerrit Change Ie05a67c810755cd19bb59ae133efcc0e76b717ef)
https://gerrit.wikimedia.org/r/62804 (Gerrit Change Ie05a67c810755cd19bb59ae133efcc0e76b717ef) | change APPROVED and MERGED [by Denny Vrandecic]
Related URL: https://gerrit.wikimedia.org/r/63433 (Gerrit Change Ie05a67c810755cd19bb59ae133efcc0e76b717ef)
https://gerrit.wikimedia.org/r/63433 (Gerrit Change Ie05a67c810755cd19bb59ae133efcc0e76b717ef) | change APPROVED and MERGED [by Tobias Gritschacher]