Page MenuHomePhabricator

Low-level RDF serialization library
Closed, ResolvedPublic

Description

In order to implement RDF output for Wikibase, we need a low level RDF serialization library that supports at least RDF/XML and n-triples (and hopefully also N3 and/or Turtle). This can be a 3rd party library, or something we write ourselves.

The serialization interface shall be oriented towards streaming operation, that is, it should have methods for outputting a header (with namespace declarations, etc) and a footer as well as RDF statements. For convenient coding, the serialization should support a Turtle-style interface, something like this:

writeStatements( $subject, array(
        $predicate1 => $value1,
        $predicate2 => array( $x, $y, $z ), 
    ) 
);

It should also support typed literals and localized string literals.


Version: unspecified
Severity: normal

Details

Reference
bz44579

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:28 AM
bzimport set Reference to bz44579.
bzimport added a subscriber: Unknown Object (MLST).
daniel created this task.Feb 1 2013, 11:30 AM

We decided on EasyRDF (http://www.easyrdf.org) for modeling and exporting RDF after discussions on semantic-web@w3.org.

Verified in Wikidata demo sprint 33

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