apache / jena

Apache Jena
https://jena.apache.org/
Apache License 2.0
1.08k stars 643 forks source link

GH-2543: Prefixes service #2538

Open karolina-telicent opened 3 weeks ago

karolina-telicent commented 3 weeks ago

This resolves #2543

Pull request Description:

This pull request contains the addition of the prefixes service to Jena. The prefixes service allows for prefix management on a given dataset provided in the config.ttl file. When making requests to the API the url can have 3 parameters: prefix, uri, and prefixToRemove, the combination of which defines the operation performed. The read operations are fetching the prefix by URI, fetching the URI by prefix, and fetching all. The read-write operations are removing and updating prefix-URI pairs.


By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.


See the Apache Jena "Contributing" guide.