https://bugzilla.wikimedia.org/show_bug.cgi?id=44579

       Web browser: ---
            Bug ID: 44579
           Summary: Low-level RDF serialization library
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to