diff options
author | Munyoki Kilyungi | 2023-05-02 20:30:00 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-05-26 08:40:22 +0300 |
commit | 6fc9626a474c742153f591e0b99d13ff9b3dafb6 (patch) | |
tree | 9c919dd6bd94cbd5f427b412794468a6b4d1f13c /dump | |
parent | dff2861c54ee096196d2f843f306068f6a1a81dd (diff) | |
download | gn-transform-databases-6fc9626a474c742153f591e0b99d13ff9b3dafb6.tar.gz |
Fix how a symbol is displayed in the final RDF
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'dump')
-rw-r--r-- | dump/triples.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dump/triples.scm b/dump/triples.scm index 8ed9952..5bd1ed1 100644 --- a/dump/triples.scm +++ b/dump/triples.scm @@ -47,7 +47,8 @@ characters with an underscore and prefixing with gn:PREFIX." (? (lambda (el) (string-match "^\\[ .* \\]$" el)) object)) "~a ~a ~a .~%") (_ "~a ~a ~s .~%"))]) - (format #t pattern subject predicate object))) + (format #t pattern subject predicate + (if (symbol? object) (symbol->string object) object)))) (define (scm->triples alist id) (for-each (match-lambda |