diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/RDFS.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/RDFS.cpp b/src/gui/RDFS.cpp index 5a676cad..ed8d7e8c 100644 --- a/src/gui/RDFS.cpp +++ b/src/gui/RDFS.cpp @@ -234,7 +234,9 @@ range(World& world, const LilvNode* prop, bool recursive) URISet ranges; LILV_FOREACH(nodes, n, nodes) { - ranges.insert(URI(lilv_node_as_string(lilv_nodes_get(nodes, n)))); + if (lilv_node_is_uri(lilv_nodes_get(nodes, n))) { + ranges.insert(URI(lilv_node_as_string(lilv_nodes_get(nodes, n)))); + } } if (recursive) { |