|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sailimpl.rdbms.CustomInferenceServices
Title: Custom Inference Rules
Description:
Copyright: Copyright (c) 2003
Company: Ontotext Lab. Sirma AI
| Field Summary | |
static String |
PARAM_RULE_FILE
|
| Constructor Summary | |
CustomInferenceServices()
|
|
| 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 dependancy (rules with t=hree 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 |
static int |
getMaxTemplateCountsPerRule()
|
void |
initialize(RdfSchemaRepository sail,
Map configParams)
invoked within sail.initialize(Map configParam). |
void |
initRdfSchema()
invoked to initilize 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 |
| Field Detail |
public static final String PARAM_RULE_FILE
| Constructor Detail |
public CustomInferenceServices()
| Method Detail |
public static int getMaxTemplateCountsPerRule()
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()
initRdfSchema in interface InferenceServicespublic void doInferencing()
doInferencing in interface InferenceServices
public void removeExpiredStatements()
throws SQLException
removeExpiredStatements in interface InferenceServicesSQLExceptionpublic void processNewStatements()
processNewStatements in interface InferenceServicesSQLExceptionpublic void markAxioms()
markAxioms in interface InferenceServicesSQLException
public void createDependenciesTable()
throws SQLException
createDependenciesTable in interface InferenceServicesSQLExceptionpublic void afterInitialize()
afterInitialize in interface InferenceServices
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||