-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ontology entities (part 2) (#707)
* feature (webapi): After saving a property definition, reload it to check that it's correct. * feature (webapi): Change a property's labels (ongoing). * feature (webapi): Change a property's rdfs:label or rdfs:comment (ongoing). * feature (webapi): Add route for changing labels or comments of a property. - Add unit test for that. * test (webapi): Add r2r tests for changing property labels and comments. - Fix bugs in the comparison of SPARQL-escaped input with data read from the triplestore. * feature (webapi): Add a class to an ontology (ongoing). * feature (webapi): Add a class definition (ongoing). * fix (webapi): Fix build and test breakage after merging develop into this branch. * feature (webapi): Add a class to an ontology. - Refactor SparqlExtendedConstructResponse to distinguish between blank nodes and IRIs. * feature (webapi): Add a class definition. - Refactor the ontology responder to calculate cardinality inheritance, and recalculate class hierarchies, when adding a class definition. - Do more error-checking. - Fix getClassDefinition.scala.txt not to return bogus blank nodes. - Add a test. * fix (webapi): Fix stupid bug. * test (webapi): Add more tests of resource class creation, and fix more bugs. - Cache abstract classes in OntologyResponderV2, and hide them when necessary in OntologyResponderV1. * test (webapi): Create properties and classes. - More tests. * test (webapi): More property creation tests. * feature (webapi): Add cardinalities to a class (ongoing). - When creating a class or adding cardinalities, if new cardinalities override inherited ones, check that they are at least as restrictive. * test (webapi): Add cardinalities to a class. * feature (webapi): Change the labels or comments of a class (ongoing). - Fix incorrect SPARQL-unescaping. * test (webapi): Change the labels or comments of a class. * feature (webapi): Change the labels or comments of a class. - Add an e2e test for that. * feature (webapi): Don't allow adding cardinalities to a class if it's used in data. * refactor (webapi): Remove redunant response schema argument. * feature (webapi): Change a class's cardinalities. * feature (webapi): Delete a class or property. * fix (webapi): Fix #157. * fix (webapi): Check for duplicate IRIs and cyclical inheritance hierarchies. * test (webapi): Don't allow creating a property with a knora-api:objectType of xsd:string. * test (webapi): Turn off extra debugging output in test. * docs (webapi): Document API v2 ontology routes. * docs (webapi): Mention consistency requirement for ontology update API. * fix (webapi): Don't modify a class's cardinalities if it has a subclass. - Clarify consistency rules in ontology API doc. - Test edit conflict prevention. * test (webapi): Fix search test after the addition of a BlueThing for another test. * docs (webapi): Clarify creation of entity names. * test (webapi): Do some of the review tasks for #707. * feature (webapi): More review tasks. * feature (webapi): Add knora-api:isValueClass.
- Loading branch information
Benjamin Geer
authored
Feb 7, 2018
1 parent
6e50f2c
commit f804346
Showing
52 changed files
with
7,465 additions
and
637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,077 changes: 1,076 additions & 1 deletion
1,077
docs/rst/knora-api-server/api_v2/ontology-information.rst
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.