diff options
| author | Munyoki Kilyungi | 2026-02-10 10:18:54 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2026-02-10 10:18:54 +0300 |
| commit | 8ed23ab93ea5f82866dc8e97224c2aafbe54ed11 (patch) | |
| tree | 7c72229f143309264c3e5cd76374d6b8cde934b3 /transform/special-forms.scm | |
| parent | 9dd449a2615fd18968c2dc84142f809241b498ad (diff) | |
| download | gn-transform-databases-8ed23ab93ea5f82866dc8e97224c2aafbe54ed11.tar.gz | |
path-without-extension: utility function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'transform/special-forms.scm')
| -rw-r--r-- | transform/special-forms.scm | 3 |
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 () |
