All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.ginf.SchemaModel

public interface SchemaModel
extends Model
An interface to a schema-aware model. Such a model extends the basic model interface by providing an additional validation method. find method must be implemented using subclass and subproperty information contained in the schema. Thus, a schema-aware model must compute the transitive closure on the predicates subClassOf and subPropertyOf.

Given the triples:

(r1, RDF.type, ClassA) (ClassA, RDFS.subClassOf, ClassB) (ClassB, RDFS.subClassOf, ClassC) (r1, propA, r2) (propA, RDFS.subPropertyOf, propB) (propB, RDFS.subPropertyOf, propC)
we must be able to derive:
(r1, RDF.type, ClassB) (r1, RDF.type, ClassD) (ClassA, RDFS.subClassOf, ClassD) (propA, RDFS.subPropertyOf, propC) (r1, propB, r2) (r1, propC, r2)


Method Index

 o validate()
Validates the model according to the schema specification.

Methods

 o validate
 public abstract void validate() throws Exception
Validates the model according to the schema specification.


All Packages  Class Hierarchy  This Package  Previous  Next  Index