From c9afaab2a84f592e4567b37b3551511381e734e4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Apr 2023 19:20:23 -0400 Subject: Add "longhand" mode to write rdf:type predicates normally --- include/serd/writer.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/serd') diff --git a/include/serd/writer.h b/include/serd/writer.h index 91baa7e8..5e8f5e6e 100644 --- a/include/serd/writer.h +++ b/include/serd/writer.h @@ -80,6 +80,13 @@ typedef enum { carefully, since it can result in data loss. */ SERD_WRITE_LAX = 1U << 4U, + + /** + Write rdf:type as a normal predicate. + + This disables the special "a" syntax in Turtle and TriG. + */ + SERD_WRITE_LONGHAND = 1U << 5U, } SerdWriterFlag; /// Bitwise OR of #SerdWriterFlag values -- cgit v1.2.1