Commit f1e0bb8
committed
Add RDF download button and fix remaining namespace propagation gaps
Adds a third "Download RDF" button (linking to a .ttl file) alongside the
existing YAML/JSON buttons for each of the 3 real-world datasets on the
Working with Data page.
Publishing these surfaced 8 more namespace prefixes (CHEBI, RO, RXNO,
qudt, schema, skos, foaf, adms) with the same root-schema propagation gap
already fixed for hdl/CHMO/ENM: each is declared in a vendored chemdcat-ap
submodule but wasn't visible to SchemaView.namespaces() when the root
schema is loaded directly, so rdflib_dumper fell back to synthesizing
placeholder ns1/ns2/... prefixes bound to the literal (unexpanded) CURIE
string instead of a real URI. Declaring them at the root too produces
clean, fully-resolved .ttl output with zero placeholder prefixes.
scripts/generate_example_outputs.py now also emits a .ttl per real-world
dataset (via the same rdflib_dumper path used by `just test`), regenerated
docs/assets/examples/ and examples/output/ accordingly.1 parent d46674c commit f1e0bb8
20 files changed
Lines changed: 2070 additions & 231 deletions
File tree
- docs
- assets
- examples
- schema
- examples/output
- scripts
- src/coremeta4cat/schema
Binary file not shown.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
113 | 137 | | |
114 | 138 | | |
115 | 139 | | |
| |||
19651 | 19675 | | |
19652 | 19676 | | |
19653 | 19677 | | |
19654 | | - | |
19655 | | - | |
19656 | | - | |
| 19678 | + | |
| 19679 | + | |
| 19680 | + | |
19657 | 19681 | | |
0 commit comments