Page MenuHomePhabricator

RDF serializer for entities (baseline)
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: normal

Details

Reference
bz44578

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz44578.
bzimport added a subscriber: Unknown Object (MLST).
daniel created this task.Feb 1 2013, 11:21 AM

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]

Restricted Application added a project: Wikidata. · View Herald TranscriptJan 28 2016, 6:06 PM
Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript