summaryrefslogtreecommitdiff
path: root/schemantic/interop/guile-rdf.scm
diff options
context:
space:
mode:
Diffstat (limited to 'schemantic/interop/guile-rdf.scm')
-rw-r--r--schemantic/interop/guile-rdf.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/schemantic/interop/guile-rdf.scm b/schemantic/interop/guile-rdf.scm
index 97ccfef..d31d949 100644
--- a/schemantic/interop/guile-rdf.scm
+++ b/schemantic/interop/guile-rdf.scm
@@ -4,6 +4,7 @@
(define-module (schemantic interop guile-rdf)
#:use-module (schemantic rdf)
+ #:use-module (schemantic blank-node)
#:use-module ((schemantic ns) #:select (xsd rdf))
#:use-module (rdf rdf)
@@ -36,6 +37,7 @@
(define (rdf-term->term term)
(cond
((string? term) (make-iri term))
+ ((integer? term) (make-blank-node term))
((rdf-literal? term) (rdf-literal->literal term))))
(define (rdf-triple->triple t)