italia / daf-ontologie-vocabolari-controllati

Elenco di ontologie e vocabolari controllati. Per maggiori informazioni, si veda il readme principale e quello di singoli vocabolari/ontologie, ove presente, e la seguente documentazione
https://github.com/italia/daf-ontologie-vocabolari-controllati/wiki
Creative Commons Attribution 4.0 International
82 stars 51 forks source link

Interoperability requirements: avoid parenthesis in CURIE #204

Closed ioggstream closed 3 months ago

ioggstream commented 1 year ago

I expect

to avoid parenthesis in curie

giorgialodi commented 1 year ago

@ioggstream could you please provide an example? Parentheses are used in some URIs of some controlled vocabularies and are fine according to URIs rules.

giorgialodi commented 3 months ago

@Clou-dia chiuderei questo issue. Non possiamo cambiare URI consolidati da anni (esempio sulle città, vocabolario critico) soprattutto quando la cosa è anche ammessa (esempio DBPedia le usa).

ioggstream commented 3 months ago

@giorgialodi since parentheses can break parsers (e.g. during harvesting), the safe choice is to encode them (e.g., %28 / %29 ) when serializing entries.

This does not mean to forbid them.

giorgialodi commented 3 months ago

if you want to escape them internally to the harvester (I image you are referring to schema harvester), it is ok since it is an internal technical stuff, but they won't be escaped in actual URIs (in the RDF files I mean).