Age | Commit message (Expand) | Author |
2023-05-26 | Replace broken char-sets with an empty string...* dump/strings.scm (sanitize-rdf-string): Add extra elements---broken
chars---to replace with "".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-05-26 | Re-organize dumping macros and associated functions...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-05-26 | Always use "~a" to output like "display"...Replacing "~s" with "~a" will print utf-8 characters correctly.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-05-26 | Return an empty string if args passed to ontology is empty...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-05-26 | Fix how a symbol is displayed in the final RDF...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Simplify pattern matching when checking for a node...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Use match syntax to print object correctly during dump...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Allow running raw queries in field form...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Annotate fields with a custom scheme such as "^^xsd:datetime"...* dump.scm (annotate-field): New function.
* dump/triples.scm (triple): Print a string as they appear with
DISPLAY should they contain "\"" thus enabling a triple that looks
like:
gn:species_mus_musculus gn:name "Mouse"^^xsd:string
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add a method to transform epoch time to a human readable format...* dump/utils.scm: Import srfi-19. Export time-unix->string.
(time-unix->string): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Create a method to define ontologies as symbols...* dump/triples.scm: Export ontology.
(ontology): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add ability to have operations such as GROUP_CONCAT in SELECT clause...This change enables having:
"... GROUP_CONCAT(GeneRIF_BASIC.PubMedId) AS alias ..."
as part of the query.
* dump.scm (field->key, field->assoc-ref): Add new syntax-rule.
* dump/sql.scm (select-query): Ditto.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2022-10-30 | Move triple utilities to new module....* dump.scm (string->identifier, string-blank?, triple, prefix): Move
to ...
* dump/triples.scm: ... new file.
* dump.scm: Import (dump triples).
| Arun Isaac |
2022-10-30 | Move string-blank? to (dump utils)....* dump.scm (string-blank?): Move to ...
* dump/utils.scm (string-blank?): ... here.
| Arun Isaac |
2022-03-10 | Rename the delete verb of map-alist to remove....The delete verb of map-alist somehow interacts with the delete
function from (srfi srfi-1), and I'm not able to figure out how. It is
simpler to just rename the delete verb to remove.
* dump/utils.scm: Do not rename the delete function from (srfi srfi-1).
(map-alist): Rename the delete verb to remove.
* tests.scm ("map-alist docstring example"): Update test.
| Arun Isaac |
2021-12-23 | Add dumped? field to <column> type....* dump/table.scm (<column>): Add dumped? field. Rename constructor to
column-constructor.
(make-column): Implement as wrapper around column-constructor.
| Arun Isaac |
2021-12-20 | Capture full column type....Capture full column type instead of just whether it is an integer.
* dump.scm (dump-data-table): Capture full column type in <column>
object.
* dump/table.scm (<column>)[int?]: Delete member.
[type]: New member.
Export column-type instead of column-int?.
| Arun Isaac |
2021-12-20 | Move <table> and <column> types to separate module....* dump.scm (<table>, <column>): Move to ...
* dump/table.scm: ... here.
| Arun Isaac |
2021-12-16 | Specify map-alist behaviour for multiple set verbs....* dump/utils.scm (map-alist): Specify behaviour for multiple set
verbs.
| Arun Isaac |
2021-12-16 | Generalize collect-keys and key->assoc-ref....The generalized versions---collect forms and translate-forms---will be
required by other macros.
* dump/utils.scm (collect-forms, translate forms): New public
functions.
(collect-keys): Rewrite in terms of collect-forms.
(key->assoc-ref): Rewrite in terms of translate-forms.
| Arun Isaac |
2021-12-16 | Rename away delete from (srfi srfi-1)....delete from (srfi srfi-1) somehow interferes with the delete verb of
map-alist. It is not clear why.
* dump/utils.scm (dump): Rename delete to srfi:delete while importing.
| Arun Isaac |
2021-12-15 | Move string similarity functions to separate module....* dump.scm: Use (dump string-similarity).
(trigrams, jaccard-index, jaccard-string-similarity,
jaccard-string-similar?): Move to ...
* dump/string-similarity.scm: ... here.
| Arun Isaac |
2021-12-11 | Implement S-expression like SQL select query....* dump/sql.scm: Import (srfi srfi-1). Export select-query.
(select-query): New macro.
| Arun Isaac |
2021-12-04 | Implement the map-alist DSL....map-alist is a DSL to transform one association list into
another. These transformations are frequently required when dumping
tables, especially metadata tables.
* dump/utils.scm: New file.
| Arun Isaac |
2021-08-27 | Initial commit | Arun Isaac |