/** * Return a description of the capabilities of this reasoner encoded in * RDF. This method is normally called by the ReasonerRegistry which caches * the resulting information so dynamically creating here is not really an overhead. */ @Override public Model getCapabilities() { if (capabilities == null) { capabilities = ModelFactory.createDefaultModel(); Resource base = capabilities.createResource(getURI()); base.addProperty(ReasonerVocabulary.nameP, "RDFS FB-TGC Rule Reasoner") .addProperty(ReasonerVocabulary.descriptionP, "Complete RDFS implementation supporting metalevel statements.\n" + "Can separate tbox and abox data if desired to reuse tbox caching or mix them.") .addProperty(ReasonerVocabulary.supportsP, RDFS.subClassOf) .addProperty(ReasonerVocabulary.supportsP, RDFS.subPropertyOf) .addProperty(ReasonerVocabulary.supportsP, RDFS.member) .addProperty(ReasonerVocabulary.supportsP, RDFS.range) .addProperty(ReasonerVocabulary.supportsP, RDFS.domain) .addProperty(ReasonerVocabulary.versionP, "0.1"); } return capabilities; }
/** * Return a description of the capabilities of this reasoner encoded in * RDF. This method is normally called by the ReasonerRegistry which caches * the resulting information so dynamically creating here is not really an overhead. */ @Override public Model getCapabilities() { if (capabilities == null) { capabilities = ModelFactory.createDefaultModel(); Resource base = capabilities.createResource(getURI()); base.addProperty(ReasonerVocabulary.nameP, "RDFS FB-TGC Rule Reasoner") .addProperty(ReasonerVocabulary.descriptionP, "Complete RDFS implementation supporting metalevel statements.\n" + "Can separate tbox and abox data if desired to reuse tbox caching or mix them.") .addProperty(ReasonerVocabulary.supportsP, RDFS.subClassOf) .addProperty(ReasonerVocabulary.supportsP, RDFS.subPropertyOf) .addProperty(ReasonerVocabulary.supportsP, RDFS.member) .addProperty(ReasonerVocabulary.supportsP, RDFS.range) .addProperty(ReasonerVocabulary.supportsP, RDFS.domain) .addProperty(ReasonerVocabulary.versionP, "0.1"); } return capabilities; }