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