Age | Commit message (Collapse) | Author |
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (sanitize-rdf-string): New function
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (dump-species): Rename gn:menuName to gn:displayName. Add
gn:family and up:organism triplets.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Nested raw queries: ((field (query alias)) alias) are now supported so
an "operation is not needed".
* dump.scm (field->key, field->assoc-ref): Delete
((field table column operation alias) alias))
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
The password can contain special characters. As such, wrap it in
quotes.
* load-rdf.scm (delete-graph): Replace "~a" with "~s".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (decode-html-entities, import-generif): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (dump-generif, dump-generif-basic): Refactor to ...
(dump-gn-genewiki-entries): ... this.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (dump-generif, dump-generif-basic): Replace with ...
(dump-gn-genewiki-entries): ... this.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (string-split-substring): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (blank-node): New macro.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (define-dump): Add optional table-metadata? flag thats #f
by default. If this flag is #t, dump metadata about the SQL table
itself.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* 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>
|
|
* dump.scm (dump-generif-basic): Annotate createTime field with xsd.
* dump.scm (dump-generif): New dump.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump/utils.scm: Import srfi-19. Export time-unix->string.
(time-unix->string): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump/triples.scm: Export ontology.
(ontology): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
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>
|
|
|
|
* dump.scm (dump-generif): New data dump.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (dump-publishfreeze, dump-published-phenotypes): New dumps.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (phenotype-id->id, dump-phenotype): Delete
(dump-publish-xref): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (dump-inbred-set): Add mapping method and species as extra
metadata for inbredsets.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* json-dump.scm: New file.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
This information is already stored in LMDB.
* dump.scm (dump-case-attributes): Delete.
(main)(<dump-case-attributes>): Ditto.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump.scm (dump-info-files): Set a dataset's name to InfoPageName.
|
|
* README.md (Using)[Set up connection parameters]: Provide a sample
conn.scm.
|
|
* README.md (Using)[Set up connection parameters]: Document
generif-data-file.
|
|
* README.md (Using): Split into subsections.
|
|
* dump.scm: Add comment with URI to GeneRIF data.
|
|
* README.md: Document generif-data-file parameter in connection
settings.
* dump.scm: Import (srfi srfi-171), (ice-9 regex) and (zlib).
(decode-html-entities, import-generif): New functions.
(main): Call import-generif.
* import-generif.scm: Delete file.
|
|
This reverts commit 5aecbcd3e59119533658b792c6dafa0c6efd9d5b. Despite
putting commands on a single line, isql still echoes and leaks the
password.
|
|
We put isql commands on a single line in the hope that they will not
be echoed thus leaking the password.
* load-rdf.scm (delete-graph): Put isql commands on a single line.
|
|
* import-generif.scm: New file.
|
|
* dump.scm (string->identifier, string-blank?, triple, prefix): Move
to ...
* dump/triples.scm: ... new file.
* dump.scm: Import (dump triples).
|
|
* dump.scm (string-blank?): Move to ...
* dump/utils.scm (string-blank?): ... here.
|