-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The KGCL model is somewhat inconsistent in that the EdgeChange class has a 'about_edge' slot intended to represent the edge (as a {subject, predicate, object} triple) that is being changed, but several of its subclasses (EdgeCreation, EdgeDeletion, MoveUnder, PlaceUnder) _also_ have distinct 'subject', 'predicate', and 'object' slots, which are redundant with the fields of the 'about_edge' slot. I believe these slots are not only useless but also harmful, since it is unclear how the corresponding classes are supposed to be used (i.e., should the subject be set in change.subject or in change.about_edge.subject?). Since I strongly suspect these slots are actually a mistake (and got no indication of the contrary when I raised the issue to the KGCL folks [1]), here we update our code to only deal with the 'about_edge' slot, and completely ignore the "flattened" subject/object/predicate slots. [1] INCATools/kgcl#53
- Loading branch information
Showing
7 changed files
with
103 additions
and
76 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
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.