Proprietary

Hi Andy, thanks for the swift reply.

I was originally intending to (mis)use XML catalog to describe mappings for RDF 
resources in any format, including turtle, so not just XML. 
I will have a look at StreamManager and LocationMapper.

Thanks again,
Jan


-----Original Message-----
From: Andy Seaborne <[email protected]> 
Sent: Friday, August 14, 2020 12:28 PM
To: [email protected]
Subject: Re: Support of XML catalog

EXTERNAL EMAIL - Use caution with any links or file attachments.

You may be better off asking on the users@ list to tap into what other users 
have done.

RDF, when working with RDF/XML uses the JDK XML parser soo whatever featurs 
that has apply - there's something in Java9 about a catalog API. 
Probably code has to bind the catalog to the parser but maybe there are global 
settings.

In general however, RDF/XML is only one syntax so a XML-specific feature is 
less attractive now that Turtle is quite common.

For OntModel, the usual way is the FileManager. That could (possibly) provide 
access to the XML catalog. It is a general way (all syntaxes) to read from 
specific locations.

It is now "StreamManager" - FileManager exists only for OntModel compatibility.

https://jena.apache.org/documentation/io/rdf-input.html#streammanager-and-locationmapper

        Andy

On 13/08/2020 15:23, Rosecký, Jan wrote:
> Proprietary
> 
> Good afternoon,
> 
> Do you support/plan to support XML catalog or any other means to resolve 
> document URIs locally? I know there is a way to implement the functionality 
> using OntDocumentManager.ReadHook but I'm pretty sure someone must have 
> encountered and solved this already...
> 
> Thanks, kind regards,
> Jan Rosecký
> Notice:  This e-mail message, together with any attachments, contains 
> information of Merck & Co., Inc. (2000 Galloping Hill Road, 
> Kenilworth, New Jersey, USA 07033), and/or its affiliates Direct 
> contact information for affiliates is available at
> http://www.merck.com/contact/contacts.html) that may be confidential, 
> proprietary copyrighted and/or legally privileged. It is intended 
> solely for the use of the individual or entity named on this message. 
> If you are not the intended recipient, and have received this message 
> in error, please notify us immediately by reply e-mail and then delete 
> it from your system.
> 
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (2000 Galloping Hill Road, Kenilworth,
New Jersey, USA 07033), and/or its affiliates Direct contact information
for affiliates is available at 
http://www.merck.com/contact/contacts.html) that may be confidential,
proprietary copyrighted and/or legally privileged. It is intended solely
for the use of the individual or entity named on this message. If you are
not the intended recipient, and have received this message in error,
please notify us immediately by reply e-mail and then delete it from 
your system.

Reply via email to