You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Martynas Jusevičius <ma...@atomgraph.com> on 2022/01/24 22:37:41 UTC
Mapping multiple files into the same namespace
Hi,
I want to merge multiple RDF files into a single ontology under one
namespace URI. E.g. to add custom assertions to ontologies without
touching their original files.
Can LocationMapper/FileManager be made/extended to do this, or do I
need to roll something of my own?
Martynas
atomgraph.com
Re: Mapping multiple files into the same namespace
Posted by Andy Seaborne <an...@apache.org>.
On 24/01/2022 22:37, Martynas Jusevičius wrote:
> Hi,
>
> I want to merge multiple RDF files into a single ontology under one
> namespace URI. E.g. to add custom assertions to ontologies without
> touching their original files.
>
> Can LocationMapper/FileManager be made/extended to do this, or do I
> need to roll something of my own?
You could push something under the OntAPI but why? Its harder to
comprehend if significant transformation is done in a hidden way.
Have a function that does (URI, custom assertion maker) -> Union model
that reads (RDFParser) and processes URIs.
LocationMapper (either of them - there's a legacy one for OntAPI and one
in RIOT) does not read data - it finds alternative names for things. So
"no".
FileManager is StreamManager in RIOT.
Andy
> Martynas
> atomgraph.com