Commit graph

7 commits

Author SHA1 Message Date
Jim Blake
dc726d2600 VIVO-1016 Avoid crashing on ABox.isEmpty()
1) Don't ask whether the ABox is empty, if you don't need to
2) If you must ask, ask the graph of the base model, to avoid SDB layers
3) change contains() to use SELECT instead of ASK, because SDB implements ASK very poorly.
2015-04-13 10:25:58 -04:00
grahamtriggs
8144f46386 Update log4j.properties
Add org.apache.jena.riot to log4j, as the packages moved in 2.10.x
2015-02-16 09:48:15 +00:00
Jim Blake
8382c2620a VIVO-778 Use JFact as the TBox reasoner, instead of Pellet.
There are still some differences between the two, and I expect  some answers from Jon and Brian regarding irregularities in the ontologies.

The Pellet libraries have not yet been removed.
2014-12-17 17:44:21 -05:00
Jim Blake
4b71c1d6bb VIVO-778 Refactor the connections to the TBox reasoner.
Replace PelletListener with a TBoxReasonerModule in the Application.
   The reasoner will be accessible only through here, not as a context attribute or through the WebappDaoFactory.
Split out the initialization of the TBox reasoner from SimpleReasonerSetup.
Break out the filtering of TBox changes into a ConfiguredReasonerListener.
Refactor the threading logic into a BasicTBoxReasonerDriver.
   Add a factory for creating VitroBackgroundThreads in an Executor.
Isolate the actual reasoner into a TBoxReasoner implementation. In this case, PelletTBoxReasoner.
Combine the consistency flag, error flag, explanation, and running status into one TBoxReasonerStatus object.
2014-12-08 10:54:07 -05:00
Jim Blake
3a2930cdc6 VIVO-773 Update the JENA libraries and adjust to the changes
Replace the JAR files with more current ones.
Add a one-line change to BaseInfGraph (from the Jena source), so it will work with Pellet 2.3.1
Adjust all implementations of Graph to include new methods and remove old ones.
Add annotations and generics to reduce compiler warnings.
Remove all dependencies on RDB, which is no longer supported.
   This requires considerable refactoring of JenaIngestController, RDFUploadController, listModels.jsp
Refactor the ModelMaker uses
   Remove VitroJenaModelMaker,
   Revise VitroInterceptingModelMaker to be configurable for Config or Content models
Add debug logging code to ModelChangeImpl ChangeSetImpl, RDFServiceJena.
Add TDB support: RDFServiceFactoryTDB, RDFServiceTDB
   Refactor RDFServiceJena and RDFServiceSDB so much of the code can be reused by RDFServiceTDB
Accomodate two RDFService instances - one for Configuration models and one for Content models.
   Changes to RDFServiceUtils, RDFServiceSetup
   Configuration models use TDB directory in Vitro home directory
Handle bulk updating:
   Jena has deprecated bulk operations, and their models classes no longer use the bulk updaters
   Create a VitroModelFactory to use instead of the ModelFactory, when bulk updating is required.
   Create adapter classes: BulkUpdatingModel, BulkUpdatingOntModel, AbstractModelDecorator
Make the configuration model setup algorithms uniform
   Combine ApplicationModelSetup and UserModelSetup into ConfigurationModelsSetup
2014-06-01 18:23:21 -04:00
j2blake
03dfbfc2c5 VIVO-224 Get rid of REBUILD_VCLASS_GROUP_CACHE.
Since we build the cache from Solr, we no longer provide the option to rebuild it.
2014-01-03 15:26:33 -05:00
j2blake
4341d72ec4 VIVO-18 Rename Log4J properties file 2013-06-21 15:39:15 -04:00
Renamed from webapp/config/default.log4j.properties (Browse further)