aboutsummaryrefslogtreecommitdiffstats
path: root/src/statement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statement.c')
-rw-r--r--src/statement.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/statement.c b/src/statement.c
index 434d41d4..9d2d4229 100644
--- a/src/statement.c
+++ b/src/statement.c
@@ -17,7 +17,8 @@ static bool
is_resource(const SerdNode* const node)
{
const SerdNodeType type = node ? serd_node_type(node) : (SerdNodeType)0;
- return type == SERD_URI || type == SERD_CURIE || type == SERD_BLANK;
+ return type == SERD_URI || type == SERD_CURIE || type == SERD_BLANK ||
+ type == SERD_VARIABLE;
}
bool