Class SemanticIndexBuilder
- java.lang.Object
-
- it.unibz.inf.ontop.si.repository.impl.SemanticIndexBuilder
-
public class SemanticIndexBuilder extends Object
Build the indexes for the DAG create a map with the index and the intervals for each node in the graph
-
-
Constructor Summary
Constructors Constructor Description SemanticIndexBuilder(ClassifiedTBox reasoner)Assign indexes for the named DAG, use a depth first listener over the DAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Map.Entry<ClassExpression,SemanticIndexRange>>getIndexedClasses()Set<Map.Entry<DataPropertyExpression,SemanticIndexRange>>getIndexedDataProperties()Set<Map.Entry<ObjectPropertyExpression,SemanticIndexRange>>getIndexedObjectProperties()static <T> org.jgrapht.graph.SimpleDirectedGraph<T,org.jgrapht.graph.DefaultEdge>getNamedDAG(EquivalencesDAG<T> dag)Constructor for the NamedDAGSemanticIndexRangegetRange(DataPropertyExpression d)SemanticIndexRangegetRange(ObjectPropertyExpression d)SemanticIndexRangegetRange(OClass d)
-
-
-
Constructor Detail
-
SemanticIndexBuilder
public SemanticIndexBuilder(ClassifiedTBox reasoner)
Assign indexes for the named DAG, use a depth first listener over the DAG- Parameters:
reasoner- used to know ancestors and descendants of the dag
-
-
Method Detail
-
getNamedDAG
public static <T> org.jgrapht.graph.SimpleDirectedGraph<T,org.jgrapht.graph.DefaultEdge> getNamedDAG(EquivalencesDAG<T> dag)
Constructor for the NamedDAG- Parameters:
dag- the DAG from which we want to keep only the named descriptions
-
getIndexedClasses
public Set<Map.Entry<ClassExpression,SemanticIndexRange>> getIndexedClasses()
-
getIndexedObjectProperties
public Set<Map.Entry<ObjectPropertyExpression,SemanticIndexRange>> getIndexedObjectProperties()
-
getIndexedDataProperties
public Set<Map.Entry<DataPropertyExpression,SemanticIndexRange>> getIndexedDataProperties()
-
getRange
public SemanticIndexRange getRange(OClass d)
-
getRange
public SemanticIndexRange getRange(ObjectPropertyExpression d)
-
getRange
public SemanticIndexRange getRange(DataPropertyExpression d)
-
-