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.
[x] Tests are included.
[x] Documentation change and updates are provided for the Apache Jena website
[x] Commits have been squashed to remove intermediate development commit messages.
[x] Key commit messages start with the issue number (GH-xxxx)
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.
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.