|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.rdfsuite.rssdb.repr.DBRepresentation
public abstract class DBRepresentation
| Field Summary | |
|---|---|
static java.lang.String |
anon_ids
|
protected java.lang.String |
bag_types
|
protected java.lang.String |
classAnc1
|
protected java.lang.String |
cluster_namespace
|
protected java.lang.String |
enumeration1
|
protected java.lang.String |
enumeration2
|
protected java.lang.String |
function_add_propertyQuery
|
protected java.lang.String |
function_create_instanceQuery
|
protected java.lang.String |
function_delete_objectQuery
|
protected java.lang.String |
function_delete_propertyQuery
|
protected java.lang.String |
function_update_propertyQuery
|
protected java.lang.String |
generator1
|
protected java.lang.String |
generator2
|
protected java.lang.String |
graph_table
|
protected java.lang.String |
graphspace_dep
|
protected java.lang.String |
graphspace1
|
protected java.lang.String |
graphspace2
|
protected java.lang.String |
index_bagtype1
|
protected java.lang.String |
index_bagtype2
|
protected java.lang.String |
index_bagtype3
|
protected java.lang.String |
index_class1
|
protected java.lang.String |
index_classanc1
|
protected java.lang.String |
index_classanc2
|
protected java.lang.String |
index_classanc3
|
protected java.lang.String |
index_classanc4
|
protected java.lang.String |
index_enumeration1
|
protected java.lang.String |
index_graph
|
protected java.lang.String |
index_metaclass1
|
protected java.lang.String |
index_metaclass2
|
protected java.lang.String |
index_metaclass3
|
protected java.lang.String |
index_metaproperty1
|
protected java.lang.String |
index_metaproperty2
|
protected java.lang.String |
index_metaproperty3
|
protected java.lang.String |
index_namespace
|
protected java.lang.String |
index_propertyanc1
|
protected java.lang.String |
index_propertyanc2
|
protected java.lang.String |
index_propertyanc3
|
protected java.lang.String |
index_propertyanc4
|
protected java.lang.String |
index_seqtype1
|
protected java.lang.String |
index_seqtype2
|
protected java.lang.String |
index_seqtype3
|
protected java.lang.String |
index_seqtype4
|
protected java.lang.String |
index_subclass1
|
protected java.lang.String |
index_subclass2
|
protected java.lang.String |
index_subclass3
|
protected java.lang.String |
index_subclass4
|
protected java.lang.String |
index_submetaclass1
|
protected java.lang.String |
index_submetaclass2
|
protected java.lang.String |
index_submetaclass3
|
protected java.lang.String |
index_submetaproperty1
|
protected java.lang.String |
index_submetaproperty2
|
protected java.lang.String |
index_submetaproperty3
|
protected java.lang.String |
index_subproperty1
|
protected java.lang.String |
index_subproperty2
|
protected java.lang.String |
index_subproperty3
|
protected java.lang.String |
index_subproperty4
|
protected java.lang.String |
literal1
|
protected java.lang.String |
literal2
|
protected static org.apache.log4j.Logger |
log
The RSSDB output in file for now (I have cut of the GUI) |
protected static org.apache.log4j.Logger |
logquery
|
protected java.lang.String |
max_postorder1
|
protected java.lang.String |
max_postorder2
|
protected java.lang.String |
metaclass1
|
protected java.lang.String |
metaclass10
http://139.91.183.30:9090/RDF/rdfsuite.rdfs# |
protected java.lang.String |
metaclass11
I will hardcode the Graphnamespace |
protected java.lang.String |
metaclass2
|
protected java.lang.String |
metaclass3
|
protected java.lang.String |
metaclass4
|
protected java.lang.String |
metaclass5
|
protected java.lang.String |
metaclass6
|
protected java.lang.String |
metaclass7
|
protected java.lang.String |
metaclass8
|
protected IRDFDB_Model |
model
|
protected java.lang.String |
namespace_dep
|
protected java.lang.String |
namespace1
|
protected java.lang.String |
namespace3
|
protected java.lang.String |
namespace4
|
protected java.lang.String |
namespace5
|
protected java.lang.String |
namespace6
|
protected java.lang.String |
propertyAnc1
|
protected java.lang.String |
representation1
|
protected java.lang.String |
seq_types
|
protected java.lang.String |
subClass1
|
protected java.lang.String |
subClass2
|
protected java.lang.String |
subProperty1
|
protected java.lang.String |
thesaurus1
|
protected java.lang.String |
thesaurus2
|
| Constructor Summary | |
|---|---|
DBRepresentation(IRDFDB_Model model)
|
|
| Method Summary | |
|---|---|
boolean |
checkStoredSubClass(RDF_Class rdf_class)
Tests if the superclasses of the RDF class are identical to those stored in DBMS for this RDF class. |
boolean |
checkStoredSubMetaClass(RDF_MetaClass metaclass)
Tests if the superclasses of the Metaclass are identical to those stored in DBMS for this metaclass. |
boolean |
checkStoredSubProperty(RDF_Property rdf_property)
Tests if the superproperties of the RDF property are identical to those stored in DBMS for this RDF property. |
abstract int |
clusterClassTables()
Clusters upon request the table where class instances are stored. |
void |
clusterGraphTable()
|
void |
clusterNamespaceTable()
|
boolean |
compareDomainRange(RDF_Property rdf_property,
int domainID,
int rangeID,
int rng_kind)
Check if the domain and range of the property declared in the RDF file is identical to the respective of the property that is stored in the db. |
protected java.lang.String |
correlateTripleIdWithGraphspaceQuery(java.lang.String graphspace_uri,
int triple_id)
|
abstract void |
createInitIndexes(java.sql.Statement stmt)
Indexes are created on the core database tables and on the table where data resources are stored (i.e., Instances table). |
void |
createPrimitiveTableIndexes(java.sql.Statement stmt)
Indexes are defined on the primitive tables. |
void |
createPrimitiveTables(java.sql.Statement stmt)
The core/primitive tables of the database representation are created and they are populated with data. |
protected void |
deleteRedundantSubClassOf(IRDF_Class rdf_class,
IRDF_Class superclass)
Deletes from db the subclass relation between the two given classes |
protected void |
deleteRedundantSubMetaClassOf(IRDF_MetaClass rdf_meta_class,
IRDF_MetaClass supermetaclass)
Deletes from db the submetaclass relation between the two given metaclasses |
protected void |
deleteRedundantSubPropertyOf(IRDF_Property rdf_property,
IRDF_Property superproperty)
Deleted from db the subproperty relation between the two given properties |
abstract boolean |
existMultipleLevelClassifiedResource()
|
java.sql.ResultSet |
getAllClassesAndSuperClasses(java.lang.String schema)
|
java.sql.ResultSet |
getAllMetaClassesAndSuperMetaClasses(java.lang.String schema)
|
java.sql.ResultSet |
getAllPropertiesWithDomainAndRange()
|
java.lang.String |
getAllpropertiesWithDomainAndRangeQuery()
|
static java.sql.ResultSet |
getClassIndex(java.sql.Statement stmt,
int class_post)
|
java.lang.String |
getClassURI(java.sql.Connection con,
int id,
boolean ext)
|
static java.util.Collection<java.lang.String> |
getDescendantsOf(java.lang.String URI,
int mode,
java.sql.Statement s)
|
static java.lang.String |
getDescendantsOfClassQuery(int class_post)
|
static java.lang.String |
getDescendantsOfMetaClassQuery(int metaclass_post)
|
static java.lang.String |
getDescendantsOfPropertyQuery(int property_post)
|
static java.util.ArrayList<java.lang.Integer> |
getLabelFromDB(IRDFDB_Model model,
java.lang.String uri,
int what)
Retrieves the label from the DB of the given uri if it is a class,property or metaclass |
static java.util.TreeSet<IntervalLabel> |
getLabelsOfDirectTreeDescendants(java.sql.Statement stmt,
IntervalLabel interval,
int mode)
Returns the interval set of the direct descendants of the node with the given interval in the spanning tree. |
static java.sql.ResultSet |
getMetaClassAndSuperMetaClassForFetching(java.sql.Statement stmt,
java.lang.String metaclass_lname,
int namespace_id)
|
java.util.ArrayList |
getMetaClassesClassBelongs(RDF_Class rdf_class,
int repr)
Returns the identifiers of the metaclasses under which the class has been classified |
java.util.ArrayList |
getMetaClassesPropertyBelongs(RDF_Property rdf_property,
int repr)
Returns the identifiers of the metaclasses under which the property has been classified |
java.lang.String |
getMetaClassURI(java.sql.Connection con,
int id)
|
static int |
getNamespaceID(RDF_Model model,
java.sql.Statement stmt,
java.lang.String namespace_uri)
Is the method that returns the namespace DBID of a namespace uri |
static java.util.Map<IntervalLabel,java.lang.Boolean> |
getPropagatedLabelsOfClass(IRDFDB_Model model,
int class_post)
Given a class post id it returns its propagated labels (direct and indirect) |
static java.util.Map<IntervalLabel,java.lang.Boolean> |
getPropagatedLabelsOfMetaClass(IRDFDB_Model model,
int metaclass_post)
Given a metaclass post id it returns its propagated labels (direct and indirect) |
static java.util.Map<IntervalLabel,java.lang.Boolean> |
getPropagatedLabelsOfMetaProperty(IRDFDB_Model model,
int metaproperty_post)
Given a metaproperty post id it returns its propagated labels (direct and indirect) |
static java.util.Map<IntervalLabel,java.lang.Boolean> |
getPropagatedLabelsOfProperty(IRDFDB_Model model,
int property_post)
Given a property post id it returns its propagated labels (direct and indirect) |
java.lang.String |
getPropertyURI(java.sql.Connection con,
int id)
|
protected int |
getRepr()
|
int |
getRepresentation()
Is the method that returns the representation kind of the DB |
java.util.HashMap |
getStoredMetaClasses(java.sql.Connection con)
Returns the metaclasses that are stored in the db. |
protected java.lang.String |
getStoredMetaClassesQuery()
|
abstract void |
initPreparedStatements()
|
protected java.lang.String |
insertXMLSchemaTypesQuery(java.lang.String dt,
java.lang.String dtLp)
|
boolean |
isGraphspaceInDB(IRDFDB_Model model,
java.lang.String uri)
|
int |
isMetaClass(int mcid)
Checks if the stored object with id is a MetaClass. |
boolean |
isNonTreeSubClass(int subpost,
int suppost,
int subindex,
java.sql.Connection con)
|
protected java.lang.String |
isNonTreeSubClassQuery(int subpost,
int suppost,
int subindex)
|
boolean |
isNonTreeSubMetaClass(int subpost,
int suppost,
int subindex,
java.sql.Connection con)
|
protected java.lang.String |
isNonTreeSubMetaClassQuery(int subpost,
int suppost,
int subindex)
|
protected java.lang.String |
isResourceStoredAsClassQuery(java.lang.String ns,
java.lang.String resource_uri)
|
protected java.lang.String |
isResourceStoredAsMetaClassQuery(IRDF_Resource resource,
int meta_kind,
java.lang.String ns)
|
boolean |
isSubClass(int subpost,
int suppost,
int subindex,
int supindex,
boolean includeClass,
boolean isDAG,
java.sql.Connection con)
Returns true if the class with post number |
protected int |
isSubClassOfRedundant(IRDF_Class rdf_class,
IRDF_Class superclass)
Based on the already stored subclass relationships tells whether the "new" subclassof is redundant |
boolean |
isSubMetaClass(int subpost,
int suppost,
int subindex,
int supindex,
boolean includeClass,
boolean isDAG,
java.sql.Connection con)
Returns true if the metaclass with post number |
protected int |
isSubMetaClassOfRedundant(IRDF_MetaClass rdf_class,
IRDF_MetaClass superclass)
Based on the already stored submetaclass relationships tells whether the "new" submetaclassof is redundant |
protected int |
isSubPropertyOfRedundant(IRDF_Property rdf_property,
IRDF_Property superproperty)
Based on the already stored subproperty relationships tells whether the "new" subpropertyof is redundant |
IntervalLabel |
metaclassContainsResource(int mcid,
java.lang.String URI)
Indicates if the object with URI |
protected java.lang.String |
metaclassContainsResourceQuery(int mcid,
java.lang.String lpart,
java.lang.String ns)
|
protected java.lang.String |
representation2Query(int repr)
|
boolean |
resourceIsStoredAsClass(java.lang.String resource_uri)
Tests if the Resource has been stored in the database as a class. |
boolean |
resourceIsStoredAsMetaClass(IRDF_Resource resource,
int meta_kind)
Tests if the resource has been stored in the database as a metaclass of classes, properties, thesaurus or enumerations. |
abstract int |
store(IRDF_Class rdf_class)
|
abstract int |
store(IRDF_Individual rdf_class_instance,
java.lang.String graphspace_uri)
|
abstract int |
store(IRDF_MetaClass rdf_meta_class)
|
abstract int |
store(IRDF_Property rdf_property)
|
abstract int |
store(IRDF_PropertyInstance rdf_property_instance,
java.lang.String graphspace_uri)
|
abstract int |
store(IRDF_Resource rdf_resource,
java.lang.String uri)
|
protected void |
storeClassDefaultProperties(IRDF_Class rdf_class)
|
void |
storeClassInstanceDefaultProperties(IRDF_Individual rdf_class_instance)
Stores comments,labels,seeAlsos,isDefinedBys defined on ClassInstances in the following relations resourcecomment(string classinstance,string comment,int triple_id,int classinstance_type_id) resourcelabel(string classinstance,string label,int triple_id,int classinstance_type_id) |
abstract void |
storeGraphspaceAsClassInstance(java.lang.String uri)
|
void |
storeGraphspaceDependency(int graphspace_dbid,
int depended_namespace_dbid,
int depended_graphspace_dbid)
(depended_namespace_dbid==0)||(depended_graphspace_db_id==0) |
void |
storeNamespaceDependency(int namespace_dbid,
int depended_namespace_dbid)
|
abstract void |
storeNonLabelChildren(IRDF_Class rdf_class,
boolean direct)
Stores the classes that are descendants of the current class, through non-tree arcs |
abstract void |
storeNonLabelChildren(IRDF_MetaClass rdf_meta_class,
boolean direct)
Stores the metaclasses that are descendants of the current metaclass, through non-tree arcs |
abstract void |
storeNonLabelChildrenProperty(IRDF_Property rdf_property,
boolean direct)
Stores the properties that are descendants of the current property, through non-tree arcs |
void |
storePrimitiveFunctions(java.sql.Statement stmt)
Stores the primitive functions |
abstract void |
storePrimitiveSchema()
Stores primitive schema |
protected void |
storePropertyDefaultProperties(IRDF_Property rdf_property)
|
protected java.lang.String |
subClassGraph(int graph_index)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
protected static final org.apache.log4j.Logger logquery
protected IRDFDB_Model model
protected java.lang.String namespace1
protected java.lang.String namespace_dep
protected java.lang.String graphspace1
protected java.lang.String graphspace_dep
protected java.lang.String graphspace2
public static java.lang.String anon_ids
protected java.lang.String namespace3
protected java.lang.String namespace4
protected java.lang.String namespace5
protected java.lang.String namespace6
protected java.lang.String graph_table
protected java.lang.String metaclass1
protected java.lang.String metaclass2
protected java.lang.String metaclass3
protected java.lang.String metaclass4
protected java.lang.String metaclass5
protected java.lang.String metaclass6
protected java.lang.String metaclass7
protected java.lang.String metaclass8
protected java.lang.String metaclass10
protected java.lang.String metaclass11
protected java.lang.String literal1
protected java.lang.String literal2
protected java.lang.String thesaurus1
protected java.lang.String enumeration1
protected java.lang.String thesaurus2
protected java.lang.String enumeration2
protected java.lang.String subClass1
protected java.lang.String subClass2
protected java.lang.String subProperty1
protected java.lang.String classAnc1
protected java.lang.String propertyAnc1
protected java.lang.String generator1
protected java.lang.String generator2
protected java.lang.String representation1
protected java.lang.String max_postorder1
protected java.lang.String max_postorder2
protected java.lang.String seq_types
protected java.lang.String bag_types
protected java.lang.String index_class1
protected java.lang.String index_subclass1
protected java.lang.String index_subclass2
protected java.lang.String index_subclass3
protected java.lang.String index_subclass4
protected java.lang.String index_subproperty1
protected java.lang.String index_subproperty2
protected java.lang.String index_subproperty3
protected java.lang.String index_subproperty4
protected java.lang.String index_submetaclass1
protected java.lang.String index_submetaclass2
protected java.lang.String index_submetaclass3
protected java.lang.String index_submetaproperty1
protected java.lang.String index_submetaproperty2
protected java.lang.String index_submetaproperty3
protected java.lang.String index_classanc1
protected java.lang.String index_classanc2
protected java.lang.String index_classanc3
protected java.lang.String index_classanc4
protected java.lang.String index_propertyanc1
protected java.lang.String index_propertyanc2
protected java.lang.String index_propertyanc3
protected java.lang.String index_propertyanc4
protected java.lang.String index_metaclass1
protected java.lang.String index_metaclass2
protected java.lang.String index_metaclass3
protected java.lang.String index_metaproperty1
protected java.lang.String index_metaproperty2
protected java.lang.String index_metaproperty3
protected java.lang.String index_enumeration1
protected java.lang.String index_seqtype1
protected java.lang.String index_seqtype2
protected java.lang.String index_seqtype3
protected java.lang.String index_seqtype4
protected java.lang.String index_bagtype1
protected java.lang.String index_bagtype2
protected java.lang.String index_bagtype3
protected java.lang.String index_namespace
protected java.lang.String cluster_namespace
protected java.lang.String index_graph
protected java.lang.String function_create_instanceQuery
protected java.lang.String function_delete_objectQuery
protected java.lang.String function_add_propertyQuery
protected java.lang.String function_delete_propertyQuery
protected java.lang.String function_update_propertyQuery
| Constructor Detail |
|---|
public DBRepresentation(IRDFDB_Model model)
| Method Detail |
|---|
protected int getRepr()
protected java.lang.String subClassGraph(int graph_index)
protected java.lang.String insertXMLSchemaTypesQuery(java.lang.String dt,
java.lang.String dtLp)
protected java.lang.String representation2Query(int repr)
protected java.lang.String getStoredMetaClassesQuery()
protected java.lang.String isResourceStoredAsClassQuery(java.lang.String ns,
java.lang.String resource_uri)
protected java.lang.String isResourceStoredAsMetaClassQuery(IRDF_Resource resource,
int meta_kind,
java.lang.String ns)
protected java.lang.String isNonTreeSubMetaClassQuery(int subpost,
int suppost,
int subindex)
protected java.lang.String isNonTreeSubClassQuery(int subpost,
int suppost,
int subindex)
protected java.lang.String metaclassContainsResourceQuery(int mcid,
java.lang.String lpart,
java.lang.String ns)
public static java.sql.ResultSet getMetaClassAndSuperMetaClassForFetching(java.sql.Statement stmt,
java.lang.String metaclass_lname,
int namespace_id)
throws java.sql.SQLException
java.sql.SQLException - if the query aborts
public int getRepresentation()
throws java.sql.SQLException
java.sql.SQLException - If the query aborts
public static int getNamespaceID(RDF_Model model,
java.sql.Statement stmt,
java.lang.String namespace_uri)
throws java.sql.SQLException
java.sql.SQLException - If the query aborts
public abstract void storePrimitiveSchema()
throws java.sql.SQLException
java.sql.SQLException - if the query aborts
public void createPrimitiveTables(java.sql.Statement stmt)
throws java.sql.SQLException
java.sql.SQLException - if the query aborts
public abstract void createInitIndexes(java.sql.Statement stmt)
throws java.sql.SQLException
java.sql.SQLException - if the query aborts
public void createPrimitiveTableIndexes(java.sql.Statement stmt)
throws java.sql.SQLException
java.sql.SQLException - if the query aborts
public void storePrimitiveFunctions(java.sql.Statement stmt)
throws java.sql.SQLException
java.sql.SQLException - if the query aborts
public abstract void initPreparedStatements()
throws java.sql.SQLException
java.sql.SQLException - if the query aborts
public abstract int store(IRDF_Class rdf_class)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts in the storing
public abstract int store(IRDF_Individual rdf_class_instance,
java.lang.String graphspace_uri)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts in the storing
public abstract int store(IRDF_MetaClass rdf_meta_class)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts in the storing
public abstract int store(IRDF_Property rdf_property)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts in the storing
public abstract int store(IRDF_PropertyInstance rdf_property_instance,
java.lang.String graphspace_uri)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts in the storing
public abstract int store(IRDF_Resource rdf_resource,
java.lang.String uri)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts in the storing
public abstract int clusterClassTables()
throws java.sql.SQLException
java.sql.SQLException - if some clustering query aborts
public abstract boolean existMultipleLevelClassifiedResource()
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public java.util.HashMap getStoredMetaClasses(java.sql.Connection con)
throws java.sql.SQLException
con - JBDC Connection Object
java.sql.SQLException - if some query aborts
public boolean resourceIsStoredAsClass(java.lang.String resource_uri)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public boolean resourceIsStoredAsMetaClass(IRDF_Resource resource,
int meta_kind)
throws java.sql.SQLException
meta_kind - indicates the kind of the metaclass
java.sql.SQLException - if some query aborts
public boolean isSubMetaClass(int subpost,
int suppost,
int subindex,
int supindex,
boolean includeClass,
boolean isDAG,
java.sql.Connection con)
throws java.sql.SQLException
subpost - The post number of the subclasssuppost - The post number of the superclasssubindex - The index number of the subclasssupindex - The index number of the superclassincludeClass - If this parameter is true, the method will return true
if the numbers subpost and suppost are equal.
java.sql.SQLException - if some query aborts
public boolean isNonTreeSubMetaClass(int subpost,
int suppost,
int subindex,
java.sql.Connection con)
throws java.sql.SQLException
subpost - suppost - subindex - con -
java.sql.SQLException - if some query aborts
public boolean isSubClass(int subpost,
int suppost,
int subindex,
int supindex,
boolean includeClass,
boolean isDAG,
java.sql.Connection con)
throws java.sql.SQLException
subpost - The post number of the subclasssuppost - The post number of the superclasssubindex - The index number of the subclasssupindex - The index number of the superclassincludeClass - If this parameter is true, the method will return true
if the numbers subpost and suppost are equal.
java.sql.SQLException - if some query aborts
public boolean isNonTreeSubClass(int subpost,
int suppost,
int subindex,
java.sql.Connection con)
throws java.sql.SQLException
subpost - suppost - subindex - con -
java.sql.SQLException - if some query aborts
public IntervalLabel metaclassContainsResource(int mcid,
java.lang.String URI)
throws java.sql.SQLException
mcid - The post number of the metaclass
java.sql.SQLException - if some query aborts
public int isMetaClass(int mcid)
throws java.sql.SQLException
mcid - Represents the integer id
java.sql.SQLException - if some query aborts
public java.sql.ResultSet getAllClassesAndSuperClasses(java.lang.String schema)
throws java.sql.SQLException
schema -
java.sql.SQLException - if some query aborts
public java.sql.ResultSet getAllMetaClassesAndSuperMetaClasses(java.lang.String schema)
throws java.sql.SQLException
schema -
java.sql.SQLException - if some query aborts
public boolean compareDomainRange(RDF_Property rdf_property,
int domainID,
int rangeID,
int rng_kind)
throws java.sql.SQLException
domainID - The id of domain class of the stored propertyrangeID - The id of range class of the stored property
java.sql.SQLException - if some query aborts
public java.lang.String getClassURI(java.sql.Connection con,
int id,
boolean ext)
throws java.sql.SQLException
con - JBDC connection objectid - Database integer identifier of a class (or Literal or Thesaurus)ext - if false the function returns the URI of a class if the id
corresponds to a class. If true the function returns the URI of a class
or Literal type or Thesaurus if the id corresponds to a class or Literal
type or Thesaurus respectively
java.sql.SQLException - if some query aborts
public java.lang.String getMetaClassURI(java.sql.Connection con,
int id)
throws java.sql.SQLException
con - JBDC connection objectid - Database integer identifier of a metaclass
java.sql.SQLException - if some query aborts
public boolean checkStoredSubMetaClass(RDF_MetaClass metaclass)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public boolean checkStoredSubClass(RDF_Class rdf_class)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public boolean checkStoredSubProperty(RDF_Property rdf_property)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public java.lang.String getPropertyURI(java.sql.Connection con,
int id)
throws java.sql.SQLException
con - id -
java.sql.SQLException - if some query aborts
public java.util.ArrayList getMetaClassesClassBelongs(RDF_Class rdf_class,
int repr)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public java.util.ArrayList getMetaClassesPropertyBelongs(RDF_Property rdf_property,
int repr)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public boolean isGraphspaceInDB(IRDFDB_Model model,
java.lang.String uri)
throws java.sql.SQLException
model - uri -
java.sql.SQLException - if some query aborts
public java.sql.ResultSet getAllPropertiesWithDomainAndRange()
throws java.sql.SQLException
java.sql.SQLException - if some query abortspublic java.lang.String getAllpropertiesWithDomainAndRangeQuery()
public abstract void storeGraphspaceAsClassInstance(java.lang.String uri)
throws java.sql.SQLException
uri -
java.sql.SQLException - if some query aborts
protected void storeClassDefaultProperties(IRDF_Class rdf_class)
throws java.sql.SQLException
rdf_class -
java.sql.SQLException - if some query aborts
public void storeClassInstanceDefaultProperties(IRDF_Individual rdf_class_instance)
throws java.sql.SQLException
rdf_class_instance -
java.sql.SQLException - if some query aborts
protected void storePropertyDefaultProperties(IRDF_Property rdf_property)
throws java.sql.SQLException
rdf_property -
java.sql.SQLException - if some query aborts
public void clusterNamespaceTable()
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public void clusterGraphTable()
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public void storeNamespaceDependency(int namespace_dbid,
int depended_namespace_dbid)
throws java.sql.SQLException
namespace_dbid - depended_namespace_dbid -
java.sql.SQLException - if some query aborts
public void storeGraphspaceDependency(int graphspace_dbid,
int depended_namespace_dbid,
int depended_graphspace_dbid)
throws java.sql.SQLException
(depended_namespace_dbid==0)||(depended_graphspace_db_id==0)
java.sql.SQLException - if some query aborts
protected java.lang.String correlateTripleIdWithGraphspaceQuery(java.lang.String graphspace_uri,
int triple_id)
throws java.sql.SQLException
java.sql.SQLException - if some query aborts
public static java.util.TreeSet<IntervalLabel> getLabelsOfDirectTreeDescendants(java.sql.Statement stmt,
IntervalLabel interval,
int mode)
throws java.sql.SQLException
mode, - 1: Classes
2: META_CLASSES
3: PROPS
4: META_PROPS
java.sql.SQLException - if some query aborts
public static java.sql.ResultSet getClassIndex(java.sql.Statement stmt,
int class_post)
throws java.sql.SQLException
stmt - class_post -
java.sql.SQLException - if some query aborts
public static java.util.Collection<java.lang.String> getDescendantsOf(java.lang.String URI,
int mode,
java.sql.Statement s)
throws java.sql.SQLException
URI - The uri of a class or propertymode - 0 if class,1 if metaclass, 2 if property
java.sql.SQLException - if some query abortspublic static java.lang.String getDescendantsOfClassQuery(int class_post)
public static java.lang.String getDescendantsOfMetaClassQuery(int metaclass_post)
public static java.lang.String getDescendantsOfPropertyQuery(int property_post)
protected int isSubClassOfRedundant(IRDF_Class rdf_class,
IRDF_Class superclass)
throws java.sql.SQLException
rdf_class - superclass -
java.sql.SQLException - if some query aborts
protected int isSubMetaClassOfRedundant(IRDF_MetaClass rdf_class,
IRDF_MetaClass superclass)
throws java.sql.SQLException
rdf_meta_class - super_meta_class -
java.sql.SQLException - if some query aborts
protected int isSubPropertyOfRedundant(IRDF_Property rdf_property,
IRDF_Property superproperty)
throws java.sql.SQLException
rdf_property - superproperty -
java.sql.SQLException - if some query aborts
protected void deleteRedundantSubClassOf(IRDF_Class rdf_class,
IRDF_Class superclass)
throws java.sql.SQLException
class_id - super_class_id -
java.sql.SQLException - if some query aborts
protected void deleteRedundantSubMetaClassOf(IRDF_MetaClass rdf_meta_class,
IRDF_MetaClass supermetaclass)
throws java.sql.SQLException
meta_class_id - super_meta_class_id -
java.sql.SQLException - if some query aborts
protected void deleteRedundantSubPropertyOf(IRDF_Property rdf_property,
IRDF_Property superproperty)
throws java.sql.SQLException
property_id - super_property_id -
java.sql.SQLException - if some query aborts
public static java.util.Map<IntervalLabel,java.lang.Boolean> getPropagatedLabelsOfClass(IRDFDB_Model model,
int class_post)
throws java.sql.SQLException
class_post - the post id of the class
java.sql.SQLException - if the query aborts
public static java.util.Map<IntervalLabel,java.lang.Boolean> getPropagatedLabelsOfProperty(IRDFDB_Model model,
int property_post)
throws java.sql.SQLException
property_post - the post id of the property
java.sql.SQLException - if the query aborts
public static java.util.Map<IntervalLabel,java.lang.Boolean> getPropagatedLabelsOfMetaClass(IRDFDB_Model model,
int metaclass_post)
throws java.sql.SQLException
metaclass_post - the post id of the metaclass
java.sql.SQLException - if the query aborts
public static java.util.Map<IntervalLabel,java.lang.Boolean> getPropagatedLabelsOfMetaProperty(IRDFDB_Model model,
int metaproperty_post)
throws java.sql.SQLException
metaproperty_post - the post id of the class
java.sql.SQLException - if the query aborts
public abstract void storeNonLabelChildren(IRDF_Class rdf_class,
boolean direct)
throws java.sql.SQLException
java.sql.SQLException - In case a query aborts
public abstract void storeNonLabelChildren(IRDF_MetaClass rdf_meta_class,
boolean direct)
throws java.sql.SQLException
java.sql.SQLException - In case a query aborts
public abstract void storeNonLabelChildrenProperty(IRDF_Property rdf_property,
boolean direct)
throws java.sql.SQLException
java.sql.SQLException - In case a query aborts
public static java.util.ArrayList<java.lang.Integer> getLabelFromDB(IRDFDB_Model model,
java.lang.String uri,
int what)
uri - The uri of a class,property or metaclasswhat - 1 for class,2 for proeprty,3 for metaclass,4 for metaproperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||