aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/serd/serd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index 3be32a65..820af22c 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -827,6 +827,20 @@ serd_node_equals(const SerdNode* SERD_NULLABLE a,
/**
@}
+ @defgroup serd_statement Statement
+ @{
+*/
+
+/// Index of a node in a statement
+typedef enum {
+ SERD_SUBJECT = 0, ///< Subject
+ SERD_PREDICATE = 1, ///< Predicate ("key")
+ SERD_OBJECT = 2, ///< Object ("value")
+ SERD_GRAPH = 3, ///< Graph ("context")
+} SerdField;
+
+/**
+ @}
@defgroup serd_world World
@{
*/