BlogMatrix
 

Python Bounty: create a proper N3 serializer for rdflib

edit David P. Janes 2006-06-19 20:12 UTC 2 comments  ·  ·  ·

Task:

  • Improve RDFLib's N3 serializer to make nicer looking output taking advantage of N3's feature set

Details:

  • RDFLib's N3 serializer is pretty crappy, producing output like the first attached file. We'd like to see something nicer, with N3 looking like the second attached file.

Required Features:

  • @prefix against URIs wherever possible
  • resonable nesting of subjects as objects as appropriate
  • triple-quoted strings as appropriate
  • shorthands: a, =, =>
  • properly ordered lists (this may be tricky)
  • ^^type notation

Notes:

  • please contact us if you want to undertake this project
  • this must work properly with Unicode-encoded data
  • your code must be given to the RDFLib project without encumerance AND released under the Python License.

Bounty Value (Closed):

Attached Documents:

Comment #1Ron Alford

2006-07-12 18:11:37

I did most of an N3 serializer for RDFLib once... (I think it may have been more Turtle than N3).  I'll throw my hat in for it soon. (Contact me by email - I don't want to be hit by the forum spam) 

Comment #2Dan Connolly

2006-07-29 05:45:22

er... nice article, but the comments are filled with spam. I'm leaving this comment on the off chance that it prompts you to clean up the spam.

Add Comment