JPL-IMCE / gov.nasa.jpl.imce.oml

Ontology Modeling Language (OML) Workbench
14 stars 1 forks source link

Ensure catalog mapping is a bijection #230

Closed NicolasRouquette closed 6 years ago

NicolasRouquette commented 6 years ago

Currently, IRI => Catalog mapping is not a bijection.

Assuming that there is a rewrite rule:

<rewriteURI rewritePrefix="file:./" uriStartString="http://"/>

then we have the following surjective mapping of IRI to file URIs:

IRI relative file URI
http://purl.org/dc/elements/1.1/ file:./purl.org/dc/elements/1.1.owl
http://purl.org/dc/elements/1.1 file:./purl.org/dc/elements/1.1.owl

A bijective mapping you instead yield:

IRI relative file URI
http://purl.org/dc/elements/1.1/ file:./purl.org/dc/elements/1.1/.owl
http://purl.org/dc/elements/1.1 file:./purl.org/dc/elements/1.1.owl