|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sailimpl.rdbms.RdbmsInferenceServices
Title: Custom Inference Rules
Description:
Copyright: Copyright (c) 2003
Company: Ontotext Lab. Sirma AI
| Field Summary |
| Constructor Summary | |
RdbmsInferenceServices()
|
|
RdbmsInferenceServices(boolean useDepInferencer)
|
|
| Method Summary | |
void |
afterInitialize()
invoked to ensure that thre RDBMS instance is already created within Sail |
void |
createDependenciesTable()
need to handle creation of DEPEND table because some of the rules may need more than 2 columns to store the dependency (rules with three or more triple templates in CustomInferencer) An example of such rule: a rdf:type owl:TransitiveProperty x a b b a c infer: x a c so the (x a c) triple is dependant from all those |
void |
doInferencing()
the entry point for statement inferencing |
void |
initialize(RdfSchemaRepository sail,
Map configParams)
invoked within sail.initialize(Map configParam). |
void |
initRdfSchema()
invoked to initialize the basic RDFS schema for the repository |
void |
markAxioms()
invoked to mark the currently added statements as axioms |
void |
processNewStatements()
invoked when some staements are being added so to infer the dependancy information for them |
void |
removeExpiredStatements()
invoked when some statements are being removed |
void |
setDependencyInferencer(boolean useDependencyInferencer)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RdbmsInferenceServices()
public RdbmsInferenceServices(boolean useDepInferencer)
| Method Detail |
public void setDependencyInferencer(boolean useDependencyInferencer)
setDependencyInferencer in interface InferenceServices
public void initialize(RdfSchemaRepository sail,
Map configParams)
InferenceServices
initialize in interface InferenceServicessail - - to which the inferencer is embeddedconfigParams - - a map holding the sail's confic parameterspublic void initRdfSchema()
InferenceServices
initRdfSchema in interface InferenceServicespublic void doInferencing()
InferenceServices
doInferencing in interface InferenceServices
public void removeExpiredStatements()
throws SQLException
InferenceServices
removeExpiredStatements in interface InferenceServicesSQLException
public void processNewStatements()
throws SQLException
InferenceServices
processNewStatements in interface InferenceServicesSQLException
public void markAxioms()
throws SQLException
InferenceServices
markAxioms in interface InferenceServicesSQLException
public void createDependenciesTable()
throws SQLException
InferenceServices
createDependenciesTable in interface InferenceServicesSQLExceptionpublic void afterInitialize()
InferenceServices
afterInitialize in interface InferenceServices
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||