I modified the DocumentGraphRepository so that the addMapping method allows
adding multiple mappings for the same location.
On 2024/08/08 15:13:26 Sergei Zuev wrote:
> `DocumentGraphRepository` is very simple:
> https://github.com/apache/jena/blob/main/jena-ontapi/src/main/java/org/apache/jena/o
in jena-ontapi, there is a similar concept:
https://github.com/apache/jena/blob/main/jena-ontapi/src/main/java/org/apache/jena/ontapi/model/OntID.java
imports closure should contain either version-iri or ontology-iri (if there is
no version-iri).
document-iri as identifier is not supported since
Oh yes, it's definitely possible, permitted, and conforms to
specification to reference an ontology document with a file-based IRI
as your example does. I was reading the thread in the wrong sequence
and thought the question was regarding the semantics of "Ontology ID"
versus the "Ontology IRI" ma
in owlcs/owlapi, it is also possible to reference to the document IRI itself:
` owl:import `.
it is allowed by specification.
but in jena-ontapi the import closure can only contain the version IRI or the
ontology IRI, not document IRI.
On 2024/08/08 14:06:29 Phillip Ross wrote:
> For reference,
`DocumentGraphRepository` is very simple:
https://github.com/apache/jena/blob/main/jena-ontapi/src/main/java/org/apache/jena/ontapi/impl/repositories/DocumentGraphRepository.java
It is just like extended Map.
So, yes, you can associate the same graph with different keys using method
`put`. But th
For reference, the owlcs owlapi models an ontology identifier as a
composite of ontology IRI and version IRI, the latter of which may be
null. And the document IRI is either the version IRI if it has been
specified, or the ontology IRI if there is no version IRI.
On Thu, Aug 8, 2024 at 3:08 AM Se
I think the OWL2 spec clarifies that imports should name the ontology or
version IRI, but in practice there are a lot of models that import by
URL. If an ontology document in a repo goes through a series of updates
and commits, some of which are tagged as having an updated version IRI,
the ont
On 07/08/2024 20:41, Andy Seaborne wrote:
On 07/08/2024 12:15, Steve Vestal wrote:
I have some questions about doing an OWL import closure. My
understanding is that an Import for an owl:Ontology can use any of a
URL, an ontology IRI, or a version IRI to access an OWL document.
Different
In the new API, the ontology identifier is either the version IRI or the
ontology IRI. The document IRI is not an identifier.
Perhaps this is a flaw - document support was added at the last moment, and for
managing imports closure no document-manager is needed.
Typical work with documents can be
On 07/08/2024 12:15, Steve Vestal wrote:
I have some questions about doing an OWL import closure. My
understanding is that an Import for an owl:Ontology can use any of a
URL, an ontology IRI, or a version IRI to access an OWL document.
Different documents that have the same ontology IRI may
I have some questions about doing an OWL import closure. My
understanding is that an Import for an owl:Ontology can use any of a
URL, an ontology IRI, or a version IRI to access an OWL document.
Different documents that have the same ontology IRI may be accessed
using different URLs, either id
11 matches
Mail list logo