Skip to content

Commit f1e0bb8

Browse files
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
1 Byte
Binary file not shown.

docs/assets/examples/CatalysisDataset-2d6m-exeb.ttl

Lines changed: 664 additions & 0 deletions
Large diffs are not rendered by default.

docs/assets/examples/CatalysisDataset-32x1-99x6.ttl

Lines changed: 727 additions & 0 deletions
Large diffs are not rendered by default.

docs/assets/examples/CatalysisDataset-arp5-s69r.ttl

Lines changed: 389 additions & 0 deletions
Large diffs are not rendered by default.

docs/assets/metadata_characterization_hierarchy.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/assets/metadata_coremeta4cat_overview.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/assets/metadata_reaction_hierarchy.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/assets/metadata_simulation_hierarchy.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/assets/metadata_synthesis_hierarchy.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/schema/coremeta4cat.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,30 @@ prefixes:
110110
ENM:
111111
prefix_prefix: ENM
112112
prefix_reference: http://purl.enanomapper.org/onto/
113+
CHEBI:
114+
prefix_prefix: CHEBI
115+
prefix_reference: http://purl.obolibrary.org/obo/CHEBI_
116+
RO:
117+
prefix_prefix: RO
118+
prefix_reference: http://purl.obolibrary.org/obo/RO_
119+
RXNO:
120+
prefix_prefix: RXNO
121+
prefix_reference: http://purl.obolibrary.org/obo/RXNO_
122+
qudt:
123+
prefix_prefix: qudt
124+
prefix_reference: http://qudt.org/schema/qudt/
125+
schema:
126+
prefix_prefix: schema
127+
prefix_reference: http://schema.org/
128+
skos:
129+
prefix_prefix: skos
130+
prefix_reference: http://www.w3.org/2004/02/skos/core#
131+
foaf:
132+
prefix_prefix: foaf
133+
prefix_reference: http://xmlns.com/foaf/0.1/
134+
adms:
135+
prefix_prefix: adms
136+
prefix_reference: http://www.w3.org/ns/adms#
113137
hdl:
114138
prefix_prefix: hdl
115139
prefix_reference: https://hdl.handle.net/
@@ -19651,7 +19675,7 @@ classes:
1965119675
class_uri: qudt:Quantity
1965219676
metamodel_version: 1.7.0
1965319677
source_file: coremeta4cat.yaml
19654-
source_file_date: '2026-07-14T17:06:19'
19655-
source_file_size: 7560
19656-
generation_date: '2026-07-14T17:12:30'
19678+
source_file_date: '2026-07-14T17:22:30'
19679+
source_file_size: 7882
19680+
generation_date: '2026-07-14T17:23:49'
1965719681

0 commit comments

Comments
 (0)