Age | Commit message (Collapse) | Author |
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* examples/dump-genotype.scm: New dump for genotypes and their
associated datasets(that were not dumped from the info-files table).
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* examples/dump-dataset-metadata.scm (dump-investigators) <foaf:name,
foaf:givenName>: Binary convert fields first to latin1 then utf8.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* examples/dump-dataset-metadata.scm (dump-investigators) <foaf:phone,
foad:mbox>: Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* examples/dump-phenotype.scm (dump-publishfreeze): Use xsd:date to
annotate PublishFreeze's CreateTime field.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* dump/strings.scm (sanitize-rdf-string): Add extra elements---broken
chars---to replace with "".
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>
|
|
Replacing "~s" with "~a" will print utf-8 characters correctly.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
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>
|
|
|