org.openrdf.sesame.sailimpl.rdbms
Class RdfMTDependencyInferencer
java.lang.Object
org.openrdf.sesame.sailimpl.rdbms.RdfMTDependencyInferencer
- All Implemented Interfaces:
- TableNames
- public class RdfMTDependencyInferencer
- extends Object
- implements TableNames
Dependency inferencer that infers the depencies between statements based on
the rules from the RDF Model Theory Recommendation (10 February 2004).
See http://www.w3.org/TR/2004/REC-rdf-mt-20040210/. The dependencies are
stored in the DEPEND_TABLE. This inferencer operates directly on the database
used by the RdfSchemaRepository.
| Fields inherited from interface org.openrdf.sesame.sailimpl.rdbms.TableNames |
ADDED_TRIPLES_TABLE, ALL_INFERRED_TABLE, ALL_NEW_TRIPLES_TABLE, CLASS_TABLE, DEPEND_TABLE, DIRECT_SUBCLASSOF_TABLE, DIRECT_SUBPROPERTYOF_TABLE, DOMAIN_TABLE, EXPIRED_LITERALS_TABLE, EXPIRED_RESOURCES_TABLE, EXPIRED_TRIPLES_TABLE, EXPIRED_VALUES_TABLE, GROUNDED_TRIPLES_TABLE, INFERRED_TABLE, INSTANCEOF_TABLE, LITERALS_TABLE, NAMESPACES_TABLE, NEW_GROUNDED_TRIPLES_TABLE, NEW_TRIPLES_TABLE, PROPER_INSTANCEOF_TABLE, PROPERTY_TABLE, RANGE_TABLE, RAW_TRIPLES_TABLE, REP_INFO_TABLE, RESOURCES_TABLE, SUBCLASSOF_TABLE, SUBPROPERTYOF_TABLE, TRIPLES_TABLE |
|
Method Summary |
void |
markAxioms()
Marks all statements that are in ALL_NEW_TRIPLES_TABLE as axioms. |
void |
processNewStatements()
Processes the new statements that are in ALL_NEW_TRIPLES_TABLE and
records there dependencies in the DEPEND_TABLE. |
RdfMTDependencyInferencer
public RdfMTDependencyInferencer(RdfSchemaRepository sail,
RDBMS rdbms)
markAxioms
public void markAxioms()
throws SQLException
- Marks all statements that are in ALL_NEW_TRIPLES_TABLE as axioms.
- Throws:
SQLException
processNewStatements
public void processNewStatements()
throws SQLException
- Processes the new statements that are in ALL_NEW_TRIPLES_TABLE and
records there dependencies in the DEPEND_TABLE.
- Throws:
SQLException
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.