Age | Commit message (Collapse) | Author |
|
This reverts commit 69e3f47fa29f9f967dfa66860edaec51c0de0125.
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* visualize-schema.scm (%sparql-host, %sparql-port): New parameters.
(sparql-query-records): Use %sparql-host and %sparql-port parameters.
(main): Accept connection settings file as argument, read it, and
parameterize %sparql-host and %sparql-port.
Pass command-line arguments to main.
|
|
* visualize-schema.scm: Add shebang and grant execution permissions.
|
|
* visualize-schema.scm (literal-node-id, rdf-type-nodes,
rdf-literal-nodes, rdf-edges, write-rdf-visualization): New functions.
(main): Call write-rdf-visualization.
|
|
* visualize-schema.scm (write-sql-visualization, main): New functions.
Invoke main.
|
|
* visualize-schema.scm (graph->dot, graph, graph-node, graph-edge,
graph-port, html-string): New functions.
(sxml->graphviz-html): Use html-string.
(foreign-key-graphviz-edges): Use graph-port.
|
|
* visualize-schema.scm (sxml->graphviz-html): Color code dumped tables
and columns.
|
|
* visualize-schema.scm (tables): Fetch entire table schema in single
SPARQL query.
|
|
* visualize-schema.scm (sparql-query-records): Add TODO note to prefer
JSON query results to CSV.
|
|
* dump.scm: Do not import (sxml simple) and (dump string-similarity).
(string-remove-suffix-ci, floor-log1024, human-units,
human-units-color, sxml->xml-string, sxml->graphviz-html, table-label,
table->graphviz-node, column->foreign-table, tables->graphviz-edges):
Move to ...
(dump-schema): Dump schema to RDF.
(main): Call dump-schema without setting schema.dot as the output
file.
* visualize-schema.scm: ... here.
|