diff --git a/README.md b/README.md index edf2317..c759583 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,13 @@ A number of command line parameters are available to configure the application. | REDIS_PORT | | 6379 | | The port on which the Redis instance is available | | REDIS_URL | \* | | http://example.com/redis | The url under which the Redis instance is available | +### Custom ontologies + +Using the `OTHER_OWL_URLS` environment parameter, custom ontologies can be added to the inference of the database. For performance and data integrity reasons they need to conform to the following rules: + +1. Build on the [NAMPI core ontology](http://purl.org/nampi/owl/core) with regards to the core entities like `person`, `event`, `act` or `aspect` +2. Only use rules compatible with the OWL Micro reasoner as described in the [Apache Jena inference documentation](https://jena.apache.org/documentation/inference/#OWLcoverage) + ## Deploying as a standalone Spring Boot application The application can be run from the command line using Maven, the environment parameters can be appended to the command. @@ -139,7 +146,3 @@ Access Token Endpoint: `[Keycloak URL]/realms/nampi/protocol/openid-connect/toke Authorization Endpoint: `[Keycloak URL]/auth/realms/nampi/protocol/openid-connect/auth` Access Token Endpoint: `[Keycloak URL]/auth/realms/nampi/protocol/openid-connect/token` - -## API use - -Note: Comma in Literals need to be URL Encoded to %2C: instead of `Lastname, Firstname@en`, `Lastname%2C Firstname@en` needs to be used. diff --git a/inf_cache.ttl b/inf_cache.ttl index bb1e641..d6f7ac8 100644 --- a/inf_cache.ttl +++ b/inf_cache.ttl @@ -55,7 +55,7 @@ tdb2:DatasetTDB2 rdfs:subClassOf ja:RDFDataset . :model_inf a ja:InfModel ; ja:baseModel :graph ; ja:reasoner [ - ja:reasonerURL + ja:reasonerURL ] . :graph rdf:type tdb2:GraphTDB ; diff --git a/pom.xml b/pom.xml index 416a966..feec11a 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ eu.nampi backend - 0.4.2 + 0.5.0 nampi-backend The NAMPI backend