Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Integrate new ConjunctiveQuery in filtering program computation | Federico Igne | 2020-11-19 | 3 | -34/+15 | |
| | ||||||
* | Add wrapper class for (boolean) conjunctive queries | Federico Igne | 2020-11-19 | 9 | -95/+466 | |
| | ||||||
* | Move NI instantiation in FilteringProgram | Federico Igne | 2020-11-19 | 5 | -45/+39 | |
| | ||||||
* | Update README.md | Federico Igne | 2020-11-19 | 1 | -3/+3 | |
| | ||||||
* | Update README.md | Federico Igne | 2020-11-19 | 1 | -7/+10 | |
| | ||||||
* | Update README.md | Federico Igne | 2020-11-19 | 1 | -5/+32 | |
| | ||||||
* | Reorganize project with Java-like folder structure | Federico Igne | 2020-11-18 | 20 | -41/+56 | |
| | ||||||
* | Rename internal predicate "EquivTo" to "congruent" | Federico Igne | 2020-11-18 | 3 | -13/+13 | |
| | ||||||
* | Change IRI prefix for internal resources | Federico Igne | 2020-11-18 | 2 | -9/+5 | |
| | ||||||
* | Rework RSA as a utility object | Federico Igne | 2020-11-18 | 18 | -565/+591 | |
| | ||||||
* | Remove implicit RSAOntology conversion | Federico Igne | 2020-11-17 | 7 | -665/+624 | |
| | | | | | | This was causing problems without giving any significant advantage. Now it will be easier to refactor classes like RSA, RSAOntology, CanonicalModel. | |||||
* | Rename RDFTriple to RSAAtom | Federico Igne | 2020-11-17 | 1 | -0/+0 | |
| | ||||||
* | Unify use of RSASuffix | Federico Igne | 2020-11-17 | 5 | -159/+203 | |
| | | | | This commit comes with minor fixes and code simplifications. | |||||
* | Rework suffixes | Federico Igne | 2020-11-16 | 6 | -40/+55 | |
| | | | | | This is a WIP implementation of a generalized way of handling IRI suffixes. It is not currently used everywhere. | |||||
* | Change "internal:" prefix to "rsa:" | Federico Igne | 2020-11-16 | 7 | -63/+74 | |
| | ||||||
* | Fix tests | Federico Igne | 2020-11-14 | 2 | -3/+4 | |
| | | | | | They were loading the wrong example file since we switched to Turtle format. | |||||
* | Update README | Federico Igne | 2020-11-14 | 1 | -3/+45 | |
| | ||||||
* | Fix NI predicate computation | Federico Igne | 2020-11-14 | 4 | -37/+76 | |
| | | | | | | 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 query | Federico Igne | 2020-11-13 | 1 | -26/+83 | |
| | ||||||
* | Add first implementation of top and equality axiomatization | Federico Igne | 2020-11-13 | 1 | -2/+58 | |
| | | | | | | This is a first stab of the axiomatization. For equality we are deriving owl:sameAs triples (not ideal) and did not yet introduced "substitution" rules. | |||||
* | Simplify role extraction from axioms | Federico Igne | 2020-11-13 | 1 | -58/+18 | |
| | | | | | | | | The previous implementation was using the visitor pattern suggested by the OWLAPI. This was buggy for some reasons and resulting in runtime exceptions (probably due to the complex class tree of the API). In Scala using type pattern matching results in a shorter and more readable way of traversing an AST. | |||||
* | Fix suffix generation in filtering program | Federico Igne | 2020-11-13 | 2 | -15/+15 | |
| | | | | Also a small step into generalizing the concept of suffix | |||||
* | Add NAMED facts to filtering program | Federico Igne | 2020-11-12 | 1 | -1/+2 | |
| | | | | | The difference between NAMED and NI facts still needs to be clarified but this is the implementation closest to the paper description. | |||||
* | Remove debug output | Federico Igne | 2020-11-10 | 1 | -1/+0 | |
| | ||||||
* | Add missing rule generated per role | Federico Igne | 2020-11-10 | 1 | -0/+43 | |
| | | | | | This is temporarily required while we reorganize the way suffixes for roles are handled. | |||||
* | Fix typo in example 1 (Turtle file) | Federico Igne | 2020-11-10 | 1 | -1/+1 | |
| | ||||||
* | Fix SKOLEM call creation during function skolemization | Federico Igne | 2020-11-10 | 2 | -8/+20 | |
| | | | | | The first argument of a SKOLEM call needs to be a literal string. Note that this is not enforced in any way by RDFox, that will fail silently. | |||||
* | Generalize axiom hashing for constant generation | Federico Igne | 2020-11-10 | 3 | -12/+44 | |
| | ||||||
* | Improve query pretty printing | Federico Igne | 2020-11-10 | 1 | -1/+1 | |
| | ||||||
* | Add OWLClassAssertionAxiom to axioms handled during translation | Federico Igne | 2020-11-10 | 1 | -1/+22 | |
| | ||||||
* | Expose ABox in RSAOntology class | Federico Igne | 2020-11-10 | 1 | -2/+9 | |
| | ||||||
* | Rewrite example 1 in Turtle syntax | Federico Igne | 2020-11-10 | 2 | -0/+55 | |
| | | | | Personally it is better documented, easier to read and to write. | |||||
* | Fix `notIn` implementation in canonical model | Federico Igne | 2020-11-09 | 1 | -17/+18 | |
| | | | | | The informal definition provided by the paper in wrong, and it turns out `notIn` just means "not in". | |||||
* | Simplify reification process and add negation reification | Federico Igne | 2020-11-09 | 2 | -68/+42 | |
| | ||||||
* | Update canonical model unit tests | Federico Igne | 2020-11-06 | 1 | -11/+11 | |
| | ||||||
* | Rework canonical model computation | Federico Igne | 2020-11-06 | 3 | -323/+332 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | Fix bug in the filtering program generation | Federico Igne | 2020-11-06 | 1 | -4/+4 | |
| | | | | Variables where generated as IRI. | |||||
* | Update version on Github Actions custom script | Federico Igne | 2020-11-05 | 1 | -1/+1 | |
| | ||||||
* | Update tests to RDFox v4.0 | Federico Igne | 2020-11-05 | 6 | -306/+313 | |
| | ||||||
* | Update code to RDFox v4.0 | Federico Igne | 2020-11-05 | 11 | -172/+247 | |
| | ||||||
* | Simplify prettyprinting of queries in test | Federico Igne | 2020-11-02 | 1 | -8/+8 | |
| | ||||||
* | Update duplicate test queries | Federico Igne | 2020-11-02 | 1 | -17/+93 | |
| | ||||||
* | Introduce workaround to RDFox Query parsing bug | Federico Igne | 2020-11-02 | 1 | -113/+246 | |
| | | | | | | For now we are building queries manually. This allows us to work on testing the modules involved but it would be nice to have the bug fixed later on. | |||||
* | Add partial unit tests for filtering program computation | Federico Igne | 2020-10-29 | 3 | -4/+178 | |
| | | | | The committed tests will fail, but the reason is still not clear. | |||||
* | Add unit tests for example2.owl for the canonical model computation | Federico Igne | 2020-10-28 | 3 | -5/+154 | |
| | ||||||
* | Adapt test to new `cycle` method | Federico Igne | 2020-10-28 | 2 | -17/+29 | |
| | ||||||
* | Implement naive version of 'cycle' as in paper | Federico Igne | 2020-10-23 | 1 | -17/+54 | |
| | | | | | | | | | | | | This implementation is more closely related to the paper definition of 'cycle'. The initial implementation was an improvement on the generation of the logic program (but not necessarely on the Datalog engine side) because it generate far fewer new constants. We decided to stick with the naive version to be as close as possible to the paper description. This temporarely breaks some tests. | |||||
* | Add tests for 'subObjectPropertyOf' axioms | Federico Igne | 2020-10-23 | 1 | -5/+34 | |
| | ||||||
* | Add additional tests for T5 axiom rule generation | Federico Igne | 2020-10-23 | 1 | -1/+58 | |
| | ||||||
* | Fix bug in computation of 'cycle' function | Federico Igne | 2020-10-23 | 1 | -1/+5 | |
| | | | | | | | The ordering among triples that 'cycle' use to introduce new individuals is considering only triples involving safe roles. This was not the case for us and triples with unsafe roles where considered towards the generation of logic rules. |