about summary refs log tree commit diff
path: root/transform/special-forms.scm
diff options
context:
space:
mode:
Diffstat (limited to 'transform/special-forms.scm')
-rw-r--r--transform/special-forms.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/transform/special-forms.scm b/transform/special-forms.scm
index d8abf2c..0c07a0a 100644
--- a/transform/special-forms.scm
+++ b/transform/special-forms.scm
@@ -622,7 +622,8 @@ The above query results to triples that have the form:
                      (out-file
                       (if (= chunks 1)
                           rdf-path
-                          (string-append rdf-path "." (number->string (+ i 1)) ".ttl"))))
+                          (string-append (path-without-extension rdf-path)
+                                         "." (number->string (+ i 1)) ".ttl"))))
                 (with-output-to-file
                     out-file
                   (lambda ()