datafoodconsortium / ontology

The DFC ontology is available as OWL and RDF.
https://datafoodconsortium.gitbook.io/dfc-standard-documentation/semantic-specifications
GNU Affero General Public License v3.0
20 stars 3 forks source link

Replace the SKOS Concepts id anchor starting with a number by a text? #66

Closed lecoqlibre closed 1 year ago

lecoqlibre commented 1 year ago

Would it be possible to replace the SKOS Concepts id containing a number like: "@id" : "http://static.datafoodconsortium.org/data/ProductGlossary_Measure.rdf#4Pack"

By: "@id" : "http://static.datafoodconsortium.org/data/ProductGlossary_Measure.rdf#FourPack"

(#4PACK to #FourPack)

Reason: the connector use these ids as variable names and they can't start by a number.

We can add a function to change these ids inside the connector itself but it could be more convenient to change these for everyone.

If you agree, I can change the ids with VocBench.

@simonLouvet @amardeilh @Alcoz @RaggedStaff @RachL

RaggedStaff commented 1 year ago

I'm fine with this.

Can we have a general rule that we don't allow Concept Id's that start with a number (to facilitate the Connector's functionality)?