Support for turtle format
I've noticed that turtle is a very commonly used format in the semantic web, for compatibility we should support it
By the design of LDPViewSet
this would be as clean as creating new TurtleRenderer
and TurtleParser
classes which can be set on the viewset like so:
TurtleViewSet(LDPViewSet):
renderer_classes = (TurtleRenderer,)
parser_classes = (TurtleParser,)
However, LDPSerializer
has been written at times to assume JSON-LD formatting and so it might add in some complexities