aboutsummaryrefslogtreecommitdiff
path: root/visualize-schema.scm
AgeCommit message (Expand)Author
2022-05-04Read SPARQL connection settings from file....* 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. Arun Isaac
2021-12-24Make visualize-schema executable....* visualize-schema.scm: Add shebang and grant execution permissions. Arun Isaac
2021-12-24Visualize RDF schema....* visualize-schema.scm (literal-node-id, rdf-type-nodes, rdf-literal-nodes, rdf-edges, write-rdf-visualization): New functions. (main): Call write-rdf-visualization. Arun Isaac
2021-12-24Wrap SQL visualization code into a function....* visualize-schema.scm (write-sql-visualization, main): New functions. Invoke main. Arun Isaac
2021-12-24Import functions from (ccwl graphviz)....* 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. Arun Isaac
2021-12-24Color code dumped tables and columns....* visualize-schema.scm (sxml->graphviz-html): Color code dumped tables and columns. Arun Isaac
2021-12-24Fetch entire table schema in single SPARQL query....* visualize-schema.scm (tables): Fetch entire table schema in single SPARQL query. Arun Isaac
2021-12-24Add TODO note to prefer JSON query results to CSV....* visualize-schema.scm (sparql-query-records): Add TODO note to prefer JSON query results to CSV. Arun Isaac
2021-12-20Move schema visualization to separate script....* 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. Arun Isaac