Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nl.aidministrator.rdf.sail
Interface RdfSchemaSource  view RdfSchemaSource download RdfSchemaSource.java

All Superinterfaces:
RdfSource, Sail
All Known Subinterfaces:
RdfSchemaRepository

public interface RdfSchemaSource
extends RdfSource

An extension of RdfSource offering RDF Schema specific methods.

Version:
1.4, 02/07/02

Method Summary
 ResourceIterator getClasses()
          Gets all defined classes.
 ResourceIterator getClassesOf(nl.aidministrator.rdf.sail.model.Value anInstance, boolean mostSpecific)
          Gets all classes of the supplied instance.
 nl.aidministrator.rdf.sail.model.Value getDomainFor(nl.aidministrator.rdf.sail.model.Resource resource)
          Gets the domain for the supplied property.
 ValueIterator getInstancesOf(nl.aidministrator.rdf.sail.model.Resource aClass, boolean proper)
          Gets all instances of the supplied class.
 ResourceIterator getProperties()
          Gets all defined properties.
 nl.aidministrator.rdf.sail.model.Value getRangeFor(nl.aidministrator.rdf.sail.model.Resource resource)
          Gets the range for the supplied property.
 StatementIterator getStatements(nl.aidministrator.rdf.sail.model.Resource subj, nl.aidministrator.rdf.sail.model.Resource pred, nl.aidministrator.rdf.sail.model.Value obj, boolean explicitOnly)
          Gets all statements with a specific subject, predicate and/or object.
 ResourceIterator getSubClassesOf(nl.aidministrator.rdf.sail.model.Resource resource, boolean direct)
          Gets all subclasses of the supplied class.
 ResourceIterator getSubPropertiesOf(nl.aidministrator.rdf.sail.model.Resource resource, boolean direct)
          Gets all subproperties of the supplied property.
 ResourceIterator getSuperClassesOf(nl.aidministrator.rdf.sail.model.Resource resource, boolean direct)
          Gets all superclasses of the supplied class.
 ResourceIterator getSuperPropertiesOf(nl.aidministrator.rdf.sail.model.Resource resource, boolean direct)
          Gets all superproperties of the supplied property.
 boolean hasStatement(nl.aidministrator.rdf.sail.model.Resource subj, nl.aidministrator.rdf.sail.model.Resource pred, nl.aidministrator.rdf.sail.model.Value obj, boolean explicitOnly)
          Checks if a statement with a specific subject, predicate and/or object is present in the repository.
 boolean isClass(nl.aidministrator.rdf.sail.model.Resource resource)
          Checks whether the supplied resource represents a class.
 boolean isInstanceOf(nl.aidministrator.rdf.sail.model.Value anInstance, nl.aidministrator.rdf.sail.model.Resource aClass, boolean proper)
          Checks whether the supplied instance is an instance of the supplied class.
 boolean isProperty(nl.aidministrator.rdf.sail.model.Resource resource)
          Checks whether the supplied resource represents a property.
 boolean isSubClassOf(nl.aidministrator.rdf.sail.model.Resource subClass, nl.aidministrator.rdf.sail.model.Resource superClass, boolean direct)
          Checks whether one resource is a subclass of another.
 boolean isSubPropertyOf(nl.aidministrator.rdf.sail.model.Resource subProperty, nl.aidministrator.rdf.sail.model.Resource superProperty, boolean direct)
          Checks whether one property is a subproperty of another.
 
Methods inherited from interface nl.aidministrator.rdf.sail.RdfSource
getNamespaces, getStatements, hasStatement
 
Methods inherited from interface nl.aidministrator.rdf.sail.Sail
initialize, shutDown
 

Method Detail

getStatements

public StatementIterator getStatements(nl.aidministrator.rdf.sail.model.Resource subj,
                                       nl.aidministrator.rdf.sail.model.Resource pred,
                                       nl.aidministrator.rdf.sail.model.Value obj,
                                       boolean explicitOnly)
Gets all statements with a specific subject, predicate and/or object. All of these parameters may be null to indicate wildcards. The 'explicitOnly' flag determines whether inferred statements will also be included in the result.


hasStatement

public boolean hasStatement(nl.aidministrator.rdf.sail.model.Resource subj,
                            nl.aidministrator.rdf.sail.model.Resource pred,
                            nl.aidministrator.rdf.sail.model.Value obj,
                            boolean explicitOnly)
Checks if a statement with a specific subject, predicate and/or object is present in the repository. All of these parameters may be null to indicate wildcards. The 'explicitOnly' flag determines whether inferred statements will be included in the check.


getClasses

public ResourceIterator getClasses()
Gets all defined classes.


isClass

public boolean isClass(nl.aidministrator.rdf.sail.model.Resource resource)
Checks whether the supplied resource represents a class.


getProperties

public ResourceIterator getProperties()
Gets all defined properties.


isProperty

public boolean isProperty(nl.aidministrator.rdf.sail.model.Resource resource)
Checks whether the supplied resource represents a property.


getSubClassesOf

public ResourceIterator getSubClassesOf(nl.aidministrator.rdf.sail.model.Resource resource,
                                        boolean direct)
Gets all subclasses of the supplied class. Note that the subclass relation is reflexive: a class is implicitly always a subclass of itself.


getSuperClassesOf

public ResourceIterator getSuperClassesOf(nl.aidministrator.rdf.sail.model.Resource resource,
                                          boolean direct)
Gets all superclasses of the supplied class. Note that the superclass relation is reflexive: a class is implicitly always a superclass of itself.


isSubClassOf

public boolean isSubClassOf(nl.aidministrator.rdf.sail.model.Resource subClass,
                            nl.aidministrator.rdf.sail.model.Resource superClass,
                            boolean direct)
Checks whether one resource is a subclass of another.


getSubPropertiesOf

public ResourceIterator getSubPropertiesOf(nl.aidministrator.rdf.sail.model.Resource resource,
                                           boolean direct)
Gets all subproperties of the supplied property. Note that the subproperty relation is reflexive: a property is implicitly always a subproperty of itself.


getSuperPropertiesOf

public ResourceIterator getSuperPropertiesOf(nl.aidministrator.rdf.sail.model.Resource resource,
                                             boolean direct)
Gets all superproperties of the supplied property. Note that the superproperty relation is reflexive: a property is implicitly always a subproperty of itself.


isSubPropertyOf

public boolean isSubPropertyOf(nl.aidministrator.rdf.sail.model.Resource subProperty,
                               nl.aidministrator.rdf.sail.model.Resource superProperty,
                               boolean direct)
Checks whether one property is a subproperty of another.


getDomainFor

public nl.aidministrator.rdf.sail.model.Value getDomainFor(nl.aidministrator.rdf.sail.model.Resource resource)
Gets the domain for the supplied property.


getRangeFor

public nl.aidministrator.rdf.sail.model.Value getRangeFor(nl.aidministrator.rdf.sail.model.Resource resource)
Gets the range for the supplied property.


getInstancesOf

public ValueIterator getInstancesOf(nl.aidministrator.rdf.sail.model.Resource aClass,
                                    boolean proper)
Gets all instances of the supplied class.


getClassesOf

public ResourceIterator getClassesOf(nl.aidministrator.rdf.sail.model.Value anInstance,
                                     boolean mostSpecific)
Gets all classes of the supplied instance.


isInstanceOf

public boolean isInstanceOf(nl.aidministrator.rdf.sail.model.Value anInstance,
                            nl.aidministrator.rdf.sail.model.Resource aClass,
                            boolean proper)
Checks whether the supplied instance is an instance of the supplied class.