aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/rsacomb/Main.scala
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize project with Java-like folder structureFederico Igne2020-11-181-249/+0
|
* Rework RSA as a utility objectFederico Igne2020-11-181-110/+122
|
* Remove implicit RSAOntology conversionFederico Igne2020-11-171-1/+1
| | | | | | This was causing problems without giving any significant advantage. Now it will be easier to refactor classes like RSA, RSAOntology, CanonicalModel.
* Change "internal:" prefix to "rsa:"Federico Igne2020-11-161-5/+16
|
* Fix NI predicate computationFederico Igne2020-11-141-9/+45
| | | | | | Now NAMED is introduced during the canonical model computation, while NI instances are computed and introduced in the filtering program generation phase.
* Add diagnostic queries along main queryFederico Igne2020-11-131-26/+83
|
* Simplify reification process and add negation reificationFederico Igne2020-11-091-0/+4
|
* Rework canonical model computationFederico Igne2020-11-061-13/+56
| | | | | | | | | | | | | | | | | | | | This is a first attempt to avoid a bug triggered by the nature of the class RSAOntology and CanonicalModel. An OWLOntology is converted implicitly to an RSAOntology object whenever it is needed. From within the RSAOntology class we used to create a CanonicalModel object (and pass the underling OWLOntology object as a parameter). Inside CanonicalModel we require RSAOntology functionalities from the OWLOntology, triggering a new conversion into RSAOntology (that would compute a new CanonicalModel and so on in a loop). While declaring the CanonicalModel as lazy in RSAOntology could solve the problem, it does not fix the underlying issue of having a class strictly related to RSAOntology as a top level class. As a first attempt we moved CanonicalModel as an object inside RSAOntology.
* Update tests to RDFox v4.0Federico Igne2020-11-051-2/+1
|
* Complete generation of logic program for the canonical modelFederico Igne2020-10-061-13/+1
|
* Add rule generation for unsafe T5 axioms for canonical modelFederico Igne2020-09-301-0/+17
|
* Add method to parse a string into a QueryFederico Igne2020-09-231-1/+3
| | | | This is using `SPARQLParser`, an undocumented class provided by JRDFox
* Use `App` trait instead of `main` functionFederico Igne2020-09-101-44/+38
|
* Move reifing code under `FilteringProgram` classFederico Igne2020-09-091-1/+1
|
* Add setup code to compute the RSA filtering programFederico Igne2020-09-071-8/+10
| | | | | Not all rules of the filtering program have been implemented, but the code for the generation and reification of the rules seems to work.
* Refactor code into different filesFederico Igne2020-08-061-0/+84
This has been done to better accommodate the code to detect all unsafe roles in an ontology.