VIVO-778 Remove references to pellet.
This commit is contained in:
parent
297d78134b
commit
3905e84882
2 changed files with 1 additions and 4 deletions
|
@ -297,9 +297,6 @@ public class JenaAdminActions extends BaseEditController {
|
|||
} else if (request.getParameter("inferences") != null) {
|
||||
memoryModel = ModelAccess.on(getServletContext()).getOntModel(FULL_INFERENCES);
|
||||
System.out.println("inferenceOntModel");
|
||||
} else if (request.getParameter("pellet") != null) {
|
||||
memoryModel = (OntModel) getServletContext().getAttribute("pelletOntModel");
|
||||
System.out.println("pelletOntModel");
|
||||
} else {
|
||||
memoryModel = ModelAccess.on(getServletContext()).getOntModel();
|
||||
System.out.println("jenaOntModel");
|
||||
|
|
|
@ -339,7 +339,7 @@ public class ConfiguredReasonerListener implements ModelChangedListener {
|
|||
// It originally assumed that only resources would be in object
|
||||
// position, but cardinality axioms will have e.g. nonNegativeIntegers.
|
||||
// This is a temporary workaround: all cardinality statements will
|
||||
// be exposed to Pellet, regardless of configuration patterns.
|
||||
// be exposed to the TBox reasoner, regardless of configuration patterns.
|
||||
private boolean hasCardinalityPredicate(Statement stmt) {
|
||||
return (stmt.getPredicate().equals(OWL.cardinality)
|
||||
|| stmt.getPredicate().equals(OWL.minCardinality) || stmt
|
||||
|
|
Loading…
Add table
Reference in a new issue