Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

location-mapping.ttl missing #16

Open
VladimirAlexiev opened this issue Sep 9, 2024 · 4 comments
Open

location-mapping.ttl missing #16

VladimirAlexiev opened this issue Sep 9, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Sep 9, 2024

https://github.com/atextor/owl-cli/releases/download/snapshot/owl-cli-snapshot.jar gives this warning on every run:

DEBUG org.apache.jena.riot.system.stream.JenaIOEnvironment -- Failed to find configuration: location-mapping.ttl;location-mapping.rdf;etc/location-mapping.rdf;etc/location-mapping.ttl

It is annoying, and also mangles STDOUT output: #14

@VladimirAlexiev
Copy link
Author

@atextor Sorry, wrong project! Can you move this to https://github.com/atextor/owl-cli, or I should recreate it there?

@atextor atextor transferred this issue from atextor/turtle-formatter Sep 10, 2024
@atextor
Copy link
Owner

atextor commented Sep 10, 2024

I have moved the issue to owl-cli.
Yes, this should not happen, DEBUG messages should only be displayed with the -vvv switch.

@atextor atextor added the bug Something isn't working label Sep 10, 2024
@pwin
Copy link

pwin commented Dec 5, 2024

What is the "location-mapping.ttl" file? Where should it be stored?

@atextor
Copy link
Owner

atextor commented Dec 7, 2024

Apache Jena, the RDF library underlying owl-cli, has a built-in mechanism to load RDF files that are referenced using URIs such as "file:myfile.ttl". When a location-mapping.ttl file is provided, it can determine for each such logical location URI a physical location (i.e., a file system location). You can find more information about this in https://jena.apache.org/documentation/notes/stream-manager.html.
If it can't find this purely optional file, Jena logs this as a debug statement. owl-cli users are not supposed to see this message by default, which is what this bug is about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants