org.openanzo.owl
Class OWL11Factory

java.lang.Object
  extended by org.openanzo.jastor.GraphThingFactory
      extended by org.openanzo.owl.OWL11Factory

public class OWL11Factory
extends GraphThingFactory

Factory for instantiating objects for ontology classes in the OWL11 ontology. The get methods leave the graph unchanged and return a Java view of the object in the graph. The create methods may add certain baseline properties to the graph such as rdf:type and any properties with hasValue restrictions.

(URI: http://www.w3.org/2002/07/owl#OWL11)





Field Summary
 
Fields inherited from class org.openanzo.jastor.GraphThingFactory
valueFactory
 
Constructor Summary
OWL11Factory()
           
 
Method Summary
static _Thing create_Thing(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of _Thing.
static _Thing create_Thing(java.lang.String uri, INamedGraph graph)
          Create a new instance of _Thing.
static AnnotationProperty createAnnotationProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of AnnotationProperty.
static AnnotationProperty createAnnotationProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of AnnotationProperty.
static AntisymmetricProperty createAntisymmetricProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of AntisymmetricProperty.
static AntisymmetricProperty createAntisymmetricProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of AntisymmetricProperty.
static Class createClass(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Class.
static Class createClass(java.lang.String uri, INamedGraph graph)
          Create a new instance of Class.
static Constant createConstant(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Constant.
static Constant createConstant(java.lang.String uri, INamedGraph graph)
          Create a new instance of Constant.
static DataRange createDataRange(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DataRange.
static DataRange createDataRange(java.lang.String uri, INamedGraph graph)
          Create a new instance of DataRange.
static DataRestriction createDataRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DataRestriction.
static DataRestriction createDataRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of DataRestriction.
static DatatypeProperty createDatatypeProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DatatypeProperty.
static DatatypeProperty createDatatypeProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of DatatypeProperty.
static FunctionalDataPropety createFunctionalDataPropety(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalDataPropety.
static FunctionalDataPropety createFunctionalDataPropety(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalDataPropety.
static FunctionalObjectProperty createFunctionalObjectProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalObjectProperty.
static FunctionalObjectProperty createFunctionalObjectProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalObjectProperty.
static FunctionalProperty createFunctionalProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalProperty.
static FunctionalProperty createFunctionalProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalProperty.
static FunctionalPropety createFunctionalPropety(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalPropety.
static FunctionalPropety createFunctionalPropety(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalPropety.
static Individual createIndividual(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Individual.
static Individual createIndividual(java.lang.String uri, INamedGraph graph)
          Create a new instance of Individual.
static InverseFunctionalProperty createInverseFunctionalProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of InverseFunctionalProperty.
static InverseFunctionalProperty createInverseFunctionalProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of InverseFunctionalProperty.
static IrreflexiveProperty createIrreflexiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of IrreflexiveProperty.
static IrreflexiveProperty createIrreflexiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of IrreflexiveProperty.
static Nothing createNothing(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Nothing.
static Nothing createNothing(java.lang.String uri, INamedGraph graph)
          Create a new instance of Nothing.
static ObjectProperty createObjectProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ObjectProperty.
static ObjectProperty createObjectProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of ObjectProperty.
static ObjectRestriction createObjectRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ObjectRestriction.
static ObjectRestriction createObjectRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of ObjectRestriction.
static Ontology createOntology(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Ontology.
static Ontology createOntology(java.lang.String uri, INamedGraph graph)
          Create a new instance of Ontology.
static OWLEntity createOWLEntity(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of OWLEntity.
static OWLEntity createOWLEntity(java.lang.String uri, INamedGraph graph)
          Create a new instance of OWLEntity.
static ReflexiveProperty createReflexiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ReflexiveProperty.
static ReflexiveProperty createReflexiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of ReflexiveProperty.
static Restriction createRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Restriction.
static Restriction createRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of Restriction.
static SymmetricProperty createSymmetricProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of SymmetricProperty.
static SymmetricProperty createSymmetricProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of SymmetricProperty.
static TransitiveProperty createTransitiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of TransitiveProperty.
static TransitiveProperty createTransitiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of TransitiveProperty.
static _Thing get_Thing(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of _Thing.
static _Thing get_Thing(java.lang.String uri, INamedGraph graph)
          Create a new instance of _Thing.
static java.util.List<_Thing> getAll_Thing(INamedGraph graph)
          Return an instance of _Thing for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Thing
static java.util.List<AnnotationProperty> getAllAnnotationProperty(INamedGraph graph)
          Return an instance of AnnotationProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#AnnotationProperty
static java.util.List<AntisymmetricProperty> getAllAntisymmetricProperty(INamedGraph graph)
          Return an instance of AntisymmetricProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#AntisymmetricProperty
static java.util.List<Class> getAllClass(INamedGraph graph)
          Return an instance of Class for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Class
static java.util.List<Constant> getAllConstant(INamedGraph graph)
          Return an instance of Constant for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Constant
static java.util.List<DataRange> getAllDataRange(INamedGraph graph)
          Return an instance of DataRange for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#DataRange
static java.util.List<DataRestriction> getAllDataRestriction(INamedGraph graph)
          Return an instance of DataRestriction for every resource in the model with rdf:Type http://www.w3.org/owl11#DataRestriction
static java.util.List<DatatypeProperty> getAllDatatypeProperty(INamedGraph graph)
          Return an instance of DatatypeProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#DatatypeProperty
static java.util.List<FunctionalDataPropety> getAllFunctionalDataPropety(INamedGraph graph)
          Return an instance of FunctionalDataPropety for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#FunctionalDataPropety
static java.util.List<FunctionalObjectProperty> getAllFunctionalObjectProperty(INamedGraph graph)
          Return an instance of FunctionalObjectProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#FunctionalObjectProperty
static java.util.List<FunctionalProperty> getAllFunctionalProperty(INamedGraph graph)
          Return an instance of FunctionalProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#FunctionalProperty
static java.util.List<FunctionalPropety> getAllFunctionalPropety(INamedGraph graph)
          Return an instance of FunctionalPropety for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#FunctionalPropety
static java.util.List<Individual> getAllIndividual(INamedGraph graph)
          Return an instance of Individual for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Individual
static java.util.List<InverseFunctionalProperty> getAllInverseFunctionalProperty(INamedGraph graph)
          Return an instance of InverseFunctionalProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#InverseFunctionalProperty
static java.util.List<IrreflexiveProperty> getAllIrreflexiveProperty(INamedGraph graph)
          Return an instance of IrreflexiveProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#IrreflexiveProperty
static java.util.List<Nothing> getAllNothing(INamedGraph graph)
          Return an instance of Nothing for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Nothing
static java.util.List<ObjectProperty> getAllObjectProperty(INamedGraph graph)
          Return an instance of ObjectProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#ObjectProperty
static java.util.List<ObjectRestriction> getAllObjectRestriction(INamedGraph graph)
          Return an instance of ObjectRestriction for every resource in the model with rdf:Type http://www.w3.org/owl11#ObjectRestriction
static java.util.List<Ontology> getAllOntology(INamedGraph graph)
          Return an instance of Ontology for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Ontology
static java.util.List<OWLEntity> getAllOWLEntity(INamedGraph graph)
          Return an instance of OWLEntity for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#OWLEntity
static java.util.List<ReflexiveProperty> getAllReflexiveProperty(INamedGraph graph)
          Return an instance of ReflexiveProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#ReflexiveProperty
static java.util.List<Restriction> getAllRestriction(INamedGraph graph)
          Return an instance of Restriction for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Restriction
static java.util.List<SymmetricProperty> getAllSymmetricProperty(INamedGraph graph)
          Return an instance of SymmetricProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#SymmetricProperty
static java.util.List<TransitiveProperty> getAllTransitiveProperty(INamedGraph graph)
          Return an instance of TransitiveProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#TransitiveProperty
static AnnotationProperty getAnnotationProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of AnnotationProperty.
static AnnotationProperty getAnnotationProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of AnnotationProperty.
static AntisymmetricProperty getAntisymmetricProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of AntisymmetricProperty.
static AntisymmetricProperty getAntisymmetricProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of AntisymmetricProperty.
static Class getClass(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Class.
static Class getClass(java.lang.String uri, INamedGraph graph)
          Create a new instance of Class.
static Constant getConstant(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Constant.
static Constant getConstant(java.lang.String uri, INamedGraph graph)
          Create a new instance of Constant.
static DataRange getDataRange(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DataRange.
static DataRange getDataRange(java.lang.String uri, INamedGraph graph)
          Create a new instance of DataRange.
static DataRestriction getDataRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DataRestriction.
static DataRestriction getDataRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of DataRestriction.
static DatatypeProperty getDatatypeProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of DatatypeProperty.
static DatatypeProperty getDatatypeProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of DatatypeProperty.
static FunctionalDataPropety getFunctionalDataPropety(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalDataPropety.
static FunctionalDataPropety getFunctionalDataPropety(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalDataPropety.
static FunctionalObjectProperty getFunctionalObjectProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalObjectProperty.
static FunctionalObjectProperty getFunctionalObjectProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalObjectProperty.
static FunctionalProperty getFunctionalProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalProperty.
static FunctionalProperty getFunctionalProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalProperty.
static FunctionalPropety getFunctionalPropety(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of FunctionalPropety.
static FunctionalPropety getFunctionalPropety(java.lang.String uri, INamedGraph graph)
          Create a new instance of FunctionalPropety.
static GraphThing getGraphThing(org.openrdf.model.Resource res, INamedGraph graph)
          Returns an instance of an interface for the given Resource.
static GraphThing getGraphThing(java.lang.String uri, INamedGraph graph)
          Returns an instance of an interface for the given Resource URI.
static Individual getIndividual(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Individual.
static Individual getIndividual(java.lang.String uri, INamedGraph graph)
          Create a new instance of Individual.
static InverseFunctionalProperty getInverseFunctionalProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of InverseFunctionalProperty.
static InverseFunctionalProperty getInverseFunctionalProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of InverseFunctionalProperty.
static IrreflexiveProperty getIrreflexiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of IrreflexiveProperty.
static IrreflexiveProperty getIrreflexiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of IrreflexiveProperty.
static Nothing getNothing(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Nothing.
static Nothing getNothing(java.lang.String uri, INamedGraph graph)
          Create a new instance of Nothing.
static ObjectProperty getObjectProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ObjectProperty.
static ObjectProperty getObjectProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of ObjectProperty.
static ObjectRestriction getObjectRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ObjectRestriction.
static ObjectRestriction getObjectRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of ObjectRestriction.
static Ontology getOntology(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Ontology.
static Ontology getOntology(java.lang.String uri, INamedGraph graph)
          Create a new instance of Ontology.
static OWLEntity getOWLEntity(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of OWLEntity.
static OWLEntity getOWLEntity(java.lang.String uri, INamedGraph graph)
          Create a new instance of OWLEntity.
static ReflexiveProperty getReflexiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of ReflexiveProperty.
static ReflexiveProperty getReflexiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of ReflexiveProperty.
static Restriction getRestriction(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of Restriction.
static Restriction getRestriction(java.lang.String uri, INamedGraph graph)
          Create a new instance of Restriction.
static SymmetricProperty getSymmetricProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of SymmetricProperty.
static SymmetricProperty getSymmetricProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of SymmetricProperty.
static TransitiveProperty getTransitiveProperty(org.openrdf.model.Resource resource, INamedGraph graph)
          Create a new instance of TransitiveProperty.
static TransitiveProperty getTransitiveProperty(java.lang.String uri, INamedGraph graph)
          Create a new instance of TransitiveProperty.
static java.util.List<java.lang.Class<? extends GraphThing>> listCompatibleInterfaces(org.openrdf.model.Resource type)
          Return a list of compatible interfaces for the given type.
 
Methods inherited from class org.openanzo.jastor.GraphThingFactory
clearCache, clearCaches, createGraphThing, createGraphThing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWL11Factory

public OWL11Factory()
Method Detail

createAntisymmetricProperty

public static AntisymmetricProperty createAntisymmetricProperty(org.openrdf.model.Resource resource,
                                                                INamedGraph graph)
                                                         throws JastorException
Create a new instance of AntisymmetricProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the AntisymmetricProperty
graph - the INamedGraph containing data.
Returns:
the AntisymmetricProperty created
Throws:
JastorException

createAntisymmetricProperty

public static AntisymmetricProperty createAntisymmetricProperty(java.lang.String uri,
                                                                INamedGraph graph)
                                                         throws JastorException
Create a new instance of AntisymmetricProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the AntisymmetricProperty
graph - the INamedGraph containing data.
Returns:
the AntisymmetricProperty created
Throws:
JastorException

getAntisymmetricProperty

public static AntisymmetricProperty getAntisymmetricProperty(java.lang.String uri,
                                                             INamedGraph graph)
                                                      throws JastorException
Create a new instance of AntisymmetricProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the AntisymmetricProperty
graph - the INamedGraph containing data.
Returns:
the AntisymmetricProperty retrieved, or created
Throws:
JastorException

getAntisymmetricProperty

public static AntisymmetricProperty getAntisymmetricProperty(org.openrdf.model.Resource resource,
                                                             INamedGraph graph)
                                                      throws JastorException
Create a new instance of AntisymmetricProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the AntisymmetricProperty
graph - the INamedGraph containing data.
Returns:
the AntisymmetricProperty retrieved, or created
Throws:
JastorException

getAllAntisymmetricProperty

public static java.util.List<AntisymmetricProperty> getAllAntisymmetricProperty(INamedGraph graph)
                                                                         throws JastorException
Return an instance of AntisymmetricProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#AntisymmetricProperty

Parameters:
graph - the INamedGraph
Returns:
a List of AntisymmetricProperty
Throws:
JastorException

createSymmetricProperty

public static SymmetricProperty createSymmetricProperty(org.openrdf.model.Resource resource,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of SymmetricProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the SymmetricProperty
graph - the INamedGraph containing data.
Returns:
the SymmetricProperty created
Throws:
JastorException

createSymmetricProperty

public static SymmetricProperty createSymmetricProperty(java.lang.String uri,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of SymmetricProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the SymmetricProperty
graph - the INamedGraph containing data.
Returns:
the SymmetricProperty created
Throws:
JastorException

getSymmetricProperty

public static SymmetricProperty getSymmetricProperty(java.lang.String uri,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of SymmetricProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the SymmetricProperty
graph - the INamedGraph containing data.
Returns:
the SymmetricProperty retrieved, or created
Throws:
JastorException

getSymmetricProperty

public static SymmetricProperty getSymmetricProperty(org.openrdf.model.Resource resource,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of SymmetricProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the SymmetricProperty
graph - the INamedGraph containing data.
Returns:
the SymmetricProperty retrieved, or created
Throws:
JastorException

getAllSymmetricProperty

public static java.util.List<SymmetricProperty> getAllSymmetricProperty(INamedGraph graph)
                                                                 throws JastorException
Return an instance of SymmetricProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#SymmetricProperty

Parameters:
graph - the INamedGraph
Returns:
a List of SymmetricProperty
Throws:
JastorException

createDataRestriction

public static DataRestriction createDataRestriction(org.openrdf.model.Resource resource,
                                                    INamedGraph graph)
                                             throws JastorException
Create a new instance of DataRestriction. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the DataRestriction
graph - the INamedGraph containing data.
Returns:
the DataRestriction created
Throws:
JastorException

createDataRestriction

public static DataRestriction createDataRestriction(java.lang.String uri,
                                                    INamedGraph graph)
                                             throws JastorException
Create a new instance of DataRestriction. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the DataRestriction
graph - the INamedGraph containing data.
Returns:
the DataRestriction created
Throws:
JastorException

getDataRestriction

public static DataRestriction getDataRestriction(java.lang.String uri,
                                                 INamedGraph graph)
                                          throws JastorException
Create a new instance of DataRestriction. Leaves the graph unchanged.

Parameters:
uri - The uri of the DataRestriction
graph - the INamedGraph containing data.
Returns:
the DataRestriction retrieved, or created
Throws:
JastorException

getDataRestriction

public static DataRestriction getDataRestriction(org.openrdf.model.Resource resource,
                                                 INamedGraph graph)
                                          throws JastorException
Create a new instance of DataRestriction. Leaves the graph unchanged.

Parameters:
resource - The resource of the DataRestriction
graph - the INamedGraph containing data.
Returns:
the DataRestriction retrieved, or created
Throws:
JastorException

getAllDataRestriction

public static java.util.List<DataRestriction> getAllDataRestriction(INamedGraph graph)
                                                             throws JastorException
Return an instance of DataRestriction for every resource in the model with rdf:Type http://www.w3.org/owl11#DataRestriction

Parameters:
graph - the INamedGraph
Returns:
a List of DataRestriction
Throws:
JastorException

createClass

public static Class createClass(org.openrdf.model.Resource resource,
                                INamedGraph graph)
                         throws JastorException
Create a new instance of Class. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the Class
graph - the INamedGraph containing data.
Returns:
the Class created
Throws:
JastorException

createClass

public static Class createClass(java.lang.String uri,
                                INamedGraph graph)
                         throws JastorException
Create a new instance of Class. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the Class
graph - the INamedGraph containing data.
Returns:
the Class created
Throws:
JastorException

getClass

public static Class getClass(java.lang.String uri,
                             INamedGraph graph)
                      throws JastorException
Create a new instance of Class. Leaves the graph unchanged.

Parameters:
uri - The uri of the Class
graph - the INamedGraph containing data.
Returns:
the Class retrieved, or created
Throws:
JastorException

getClass

public static Class getClass(org.openrdf.model.Resource resource,
                             INamedGraph graph)
                      throws JastorException
Create a new instance of Class. Leaves the graph unchanged.

Parameters:
resource - The resource of the Class
graph - the INamedGraph containing data.
Returns:
the Class retrieved, or created
Throws:
JastorException

getAllClass

public static java.util.List<Class> getAllClass(INamedGraph graph)
                                         throws JastorException
Return an instance of Class for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Class

Parameters:
graph - the INamedGraph
Returns:
a List of Class
Throws:
JastorException

createFunctionalDataPropety

public static FunctionalDataPropety createFunctionalDataPropety(org.openrdf.model.Resource resource,
                                                                INamedGraph graph)
                                                         throws JastorException
Create a new instance of FunctionalDataPropety. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the FunctionalDataPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalDataPropety created
Throws:
JastorException

createFunctionalDataPropety

public static FunctionalDataPropety createFunctionalDataPropety(java.lang.String uri,
                                                                INamedGraph graph)
                                                         throws JastorException
Create a new instance of FunctionalDataPropety. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the FunctionalDataPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalDataPropety created
Throws:
JastorException

getFunctionalDataPropety

public static FunctionalDataPropety getFunctionalDataPropety(java.lang.String uri,
                                                             INamedGraph graph)
                                                      throws JastorException
Create a new instance of FunctionalDataPropety. Leaves the graph unchanged.

Parameters:
uri - The uri of the FunctionalDataPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalDataPropety retrieved, or created
Throws:
JastorException

getFunctionalDataPropety

public static FunctionalDataPropety getFunctionalDataPropety(org.openrdf.model.Resource resource,
                                                             INamedGraph graph)
                                                      throws JastorException
Create a new instance of FunctionalDataPropety. Leaves the graph unchanged.

Parameters:
resource - The resource of the FunctionalDataPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalDataPropety retrieved, or created
Throws:
JastorException

getAllFunctionalDataPropety

public static java.util.List<FunctionalDataPropety> getAllFunctionalDataPropety(INamedGraph graph)
                                                                         throws JastorException
Return an instance of FunctionalDataPropety for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#FunctionalDataPropety

Parameters:
graph - the INamedGraph
Returns:
a List of FunctionalDataPropety
Throws:
JastorException

createFunctionalPropety

public static FunctionalPropety createFunctionalPropety(org.openrdf.model.Resource resource,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of FunctionalPropety. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the FunctionalPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalPropety created
Throws:
JastorException

createFunctionalPropety

public static FunctionalPropety createFunctionalPropety(java.lang.String uri,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of FunctionalPropety. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the FunctionalPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalPropety created
Throws:
JastorException

getFunctionalPropety

public static FunctionalPropety getFunctionalPropety(java.lang.String uri,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of FunctionalPropety. Leaves the graph unchanged.

Parameters:
uri - The uri of the FunctionalPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalPropety retrieved, or created
Throws:
JastorException

getFunctionalPropety

public static FunctionalPropety getFunctionalPropety(org.openrdf.model.Resource resource,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of FunctionalPropety. Leaves the graph unchanged.

Parameters:
resource - The resource of the FunctionalPropety
graph - the INamedGraph containing data.
Returns:
the FunctionalPropety retrieved, or created
Throws:
JastorException

getAllFunctionalPropety

public static java.util.List<FunctionalPropety> getAllFunctionalPropety(INamedGraph graph)
                                                                 throws JastorException
Return an instance of FunctionalPropety for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#FunctionalPropety

Parameters:
graph - the INamedGraph
Returns:
a List of FunctionalPropety
Throws:
JastorException

createObjectRestriction

public static ObjectRestriction createObjectRestriction(org.openrdf.model.Resource resource,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of ObjectRestriction. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the ObjectRestriction
graph - the INamedGraph containing data.
Returns:
the ObjectRestriction created
Throws:
JastorException

createObjectRestriction

public static ObjectRestriction createObjectRestriction(java.lang.String uri,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of ObjectRestriction. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the ObjectRestriction
graph - the INamedGraph containing data.
Returns:
the ObjectRestriction created
Throws:
JastorException

getObjectRestriction

public static ObjectRestriction getObjectRestriction(java.lang.String uri,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of ObjectRestriction. Leaves the graph unchanged.

Parameters:
uri - The uri of the ObjectRestriction
graph - the INamedGraph containing data.
Returns:
the ObjectRestriction retrieved, or created
Throws:
JastorException

getObjectRestriction

public static ObjectRestriction getObjectRestriction(org.openrdf.model.Resource resource,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of ObjectRestriction. Leaves the graph unchanged.

Parameters:
resource - The resource of the ObjectRestriction
graph - the INamedGraph containing data.
Returns:
the ObjectRestriction retrieved, or created
Throws:
JastorException

getAllObjectRestriction

public static java.util.List<ObjectRestriction> getAllObjectRestriction(INamedGraph graph)
                                                                 throws JastorException
Return an instance of ObjectRestriction for every resource in the model with rdf:Type http://www.w3.org/owl11#ObjectRestriction

Parameters:
graph - the INamedGraph
Returns:
a List of ObjectRestriction
Throws:
JastorException

createOntology

public static Ontology createOntology(org.openrdf.model.Resource resource,
                                      INamedGraph graph)
                               throws JastorException
Create a new instance of Ontology. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the Ontology
graph - the INamedGraph containing data.
Returns:
the Ontology created
Throws:
JastorException

createOntology

public static Ontology createOntology(java.lang.String uri,
                                      INamedGraph graph)
                               throws JastorException
Create a new instance of Ontology. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the Ontology
graph - the INamedGraph containing data.
Returns:
the Ontology created
Throws:
JastorException

getOntology

public static Ontology getOntology(java.lang.String uri,
                                   INamedGraph graph)
                            throws JastorException
Create a new instance of Ontology. Leaves the graph unchanged.

Parameters:
uri - The uri of the Ontology
graph - the INamedGraph containing data.
Returns:
the Ontology retrieved, or created
Throws:
JastorException

getOntology

public static Ontology getOntology(org.openrdf.model.Resource resource,
                                   INamedGraph graph)
                            throws JastorException
Create a new instance of Ontology. Leaves the graph unchanged.

Parameters:
resource - The resource of the Ontology
graph - the INamedGraph containing data.
Returns:
the Ontology retrieved, or created
Throws:
JastorException

getAllOntology

public static java.util.List<Ontology> getAllOntology(INamedGraph graph)
                                               throws JastorException
Return an instance of Ontology for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Ontology

Parameters:
graph - the INamedGraph
Returns:
a List of Ontology
Throws:
JastorException

createInverseFunctionalProperty

public static InverseFunctionalProperty createInverseFunctionalProperty(org.openrdf.model.Resource resource,
                                                                        INamedGraph graph)
                                                                 throws JastorException
Create a new instance of InverseFunctionalProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the InverseFunctionalProperty
graph - the INamedGraph containing data.
Returns:
the InverseFunctionalProperty created
Throws:
JastorException

createInverseFunctionalProperty

public static InverseFunctionalProperty createInverseFunctionalProperty(java.lang.String uri,
                                                                        INamedGraph graph)
                                                                 throws JastorException
Create a new instance of InverseFunctionalProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the InverseFunctionalProperty
graph - the INamedGraph containing data.
Returns:
the InverseFunctionalProperty created
Throws:
JastorException

getInverseFunctionalProperty

public static InverseFunctionalProperty getInverseFunctionalProperty(java.lang.String uri,
                                                                     INamedGraph graph)
                                                              throws JastorException
Create a new instance of InverseFunctionalProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the InverseFunctionalProperty
graph - the INamedGraph containing data.
Returns:
the InverseFunctionalProperty retrieved, or created
Throws:
JastorException

getInverseFunctionalProperty

public static InverseFunctionalProperty getInverseFunctionalProperty(org.openrdf.model.Resource resource,
                                                                     INamedGraph graph)
                                                              throws JastorException
Create a new instance of InverseFunctionalProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the InverseFunctionalProperty
graph - the INamedGraph containing data.
Returns:
the InverseFunctionalProperty retrieved, or created
Throws:
JastorException

getAllInverseFunctionalProperty

public static java.util.List<InverseFunctionalProperty> getAllInverseFunctionalProperty(INamedGraph graph)
                                                                                 throws JastorException
Return an instance of InverseFunctionalProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#InverseFunctionalProperty

Parameters:
graph - the INamedGraph
Returns:
a List of InverseFunctionalProperty
Throws:
JastorException

createDatatypeProperty

public static DatatypeProperty createDatatypeProperty(org.openrdf.model.Resource resource,
                                                      INamedGraph graph)
                                               throws JastorException
Create a new instance of DatatypeProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the DatatypeProperty
graph - the INamedGraph containing data.
Returns:
the DatatypeProperty created
Throws:
JastorException

createDatatypeProperty

public static DatatypeProperty createDatatypeProperty(java.lang.String uri,
                                                      INamedGraph graph)
                                               throws JastorException
Create a new instance of DatatypeProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the DatatypeProperty
graph - the INamedGraph containing data.
Returns:
the DatatypeProperty created
Throws:
JastorException

getDatatypeProperty

public static DatatypeProperty getDatatypeProperty(java.lang.String uri,
                                                   INamedGraph graph)
                                            throws JastorException
Create a new instance of DatatypeProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the DatatypeProperty
graph - the INamedGraph containing data.
Returns:
the DatatypeProperty retrieved, or created
Throws:
JastorException

getDatatypeProperty

public static DatatypeProperty getDatatypeProperty(org.openrdf.model.Resource resource,
                                                   INamedGraph graph)
                                            throws JastorException
Create a new instance of DatatypeProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the DatatypeProperty
graph - the INamedGraph containing data.
Returns:
the DatatypeProperty retrieved, or created
Throws:
JastorException

getAllDatatypeProperty

public static java.util.List<DatatypeProperty> getAllDatatypeProperty(INamedGraph graph)
                                                               throws JastorException
Return an instance of DatatypeProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#DatatypeProperty

Parameters:
graph - the INamedGraph
Returns:
a List of DatatypeProperty
Throws:
JastorException

createIndividual

public static Individual createIndividual(org.openrdf.model.Resource resource,
                                          INamedGraph graph)
                                   throws JastorException
Create a new instance of Individual. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the Individual
graph - the INamedGraph containing data.
Returns:
the Individual created
Throws:
JastorException

createIndividual

public static Individual createIndividual(java.lang.String uri,
                                          INamedGraph graph)
                                   throws JastorException
Create a new instance of Individual. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the Individual
graph - the INamedGraph containing data.
Returns:
the Individual created
Throws:
JastorException

getIndividual

public static Individual getIndividual(java.lang.String uri,
                                       INamedGraph graph)
                                throws JastorException
Create a new instance of Individual. Leaves the graph unchanged.

Parameters:
uri - The uri of the Individual
graph - the INamedGraph containing data.
Returns:
the Individual retrieved, or created
Throws:
JastorException

getIndividual

public static Individual getIndividual(org.openrdf.model.Resource resource,
                                       INamedGraph graph)
                                throws JastorException
Create a new instance of Individual. Leaves the graph unchanged.

Parameters:
resource - The resource of the Individual
graph - the INamedGraph containing data.
Returns:
the Individual retrieved, or created
Throws:
JastorException

getAllIndividual

public static java.util.List<Individual> getAllIndividual(INamedGraph graph)
                                                   throws JastorException
Return an instance of Individual for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Individual

Parameters:
graph - the INamedGraph
Returns:
a List of Individual
Throws:
JastorException

createConstant

public static Constant createConstant(org.openrdf.model.Resource resource,
                                      INamedGraph graph)
                               throws JastorException
Create a new instance of Constant. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the Constant
graph - the INamedGraph containing data.
Returns:
the Constant created
Throws:
JastorException

createConstant

public static Constant createConstant(java.lang.String uri,
                                      INamedGraph graph)
                               throws JastorException
Create a new instance of Constant. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the Constant
graph - the INamedGraph containing data.
Returns:
the Constant created
Throws:
JastorException

getConstant

public static Constant getConstant(java.lang.String uri,
                                   INamedGraph graph)
                            throws JastorException
Create a new instance of Constant. Leaves the graph unchanged.

Parameters:
uri - The uri of the Constant
graph - the INamedGraph containing data.
Returns:
the Constant retrieved, or created
Throws:
JastorException

getConstant

public static Constant getConstant(org.openrdf.model.Resource resource,
                                   INamedGraph graph)
                            throws JastorException
Create a new instance of Constant. Leaves the graph unchanged.

Parameters:
resource - The resource of the Constant
graph - the INamedGraph containing data.
Returns:
the Constant retrieved, or created
Throws:
JastorException

getAllConstant

public static java.util.List<Constant> getAllConstant(INamedGraph graph)
                                               throws JastorException
Return an instance of Constant for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Constant

Parameters:
graph - the INamedGraph
Returns:
a List of Constant
Throws:
JastorException

createTransitiveProperty

public static TransitiveProperty createTransitiveProperty(org.openrdf.model.Resource resource,
                                                          INamedGraph graph)
                                                   throws JastorException
Create a new instance of TransitiveProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the TransitiveProperty
graph - the INamedGraph containing data.
Returns:
the TransitiveProperty created
Throws:
JastorException

createTransitiveProperty

public static TransitiveProperty createTransitiveProperty(java.lang.String uri,
                                                          INamedGraph graph)
                                                   throws JastorException
Create a new instance of TransitiveProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the TransitiveProperty
graph - the INamedGraph containing data.
Returns:
the TransitiveProperty created
Throws:
JastorException

getTransitiveProperty

public static TransitiveProperty getTransitiveProperty(java.lang.String uri,
                                                       INamedGraph graph)
                                                throws JastorException
Create a new instance of TransitiveProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the TransitiveProperty
graph - the INamedGraph containing data.
Returns:
the TransitiveProperty retrieved, or created
Throws:
JastorException

getTransitiveProperty

public static TransitiveProperty getTransitiveProperty(org.openrdf.model.Resource resource,
                                                       INamedGraph graph)
                                                throws JastorException
Create a new instance of TransitiveProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the TransitiveProperty
graph - the INamedGraph containing data.
Returns:
the TransitiveProperty retrieved, or created
Throws:
JastorException

getAllTransitiveProperty

public static java.util.List<TransitiveProperty> getAllTransitiveProperty(INamedGraph graph)
                                                                   throws JastorException
Return an instance of TransitiveProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#TransitiveProperty

Parameters:
graph - the INamedGraph
Returns:
a List of TransitiveProperty
Throws:
JastorException

createObjectProperty

public static ObjectProperty createObjectProperty(org.openrdf.model.Resource resource,
                                                  INamedGraph graph)
                                           throws JastorException
Create a new instance of ObjectProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the ObjectProperty
graph - the INamedGraph containing data.
Returns:
the ObjectProperty created
Throws:
JastorException

createObjectProperty

public static ObjectProperty createObjectProperty(java.lang.String uri,
                                                  INamedGraph graph)
                                           throws JastorException
Create a new instance of ObjectProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the ObjectProperty
graph - the INamedGraph containing data.
Returns:
the ObjectProperty created
Throws:
JastorException

getObjectProperty

public static ObjectProperty getObjectProperty(java.lang.String uri,
                                               INamedGraph graph)
                                        throws JastorException
Create a new instance of ObjectProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the ObjectProperty
graph - the INamedGraph containing data.
Returns:
the ObjectProperty retrieved, or created
Throws:
JastorException

getObjectProperty

public static ObjectProperty getObjectProperty(org.openrdf.model.Resource resource,
                                               INamedGraph graph)
                                        throws JastorException
Create a new instance of ObjectProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the ObjectProperty
graph - the INamedGraph containing data.
Returns:
the ObjectProperty retrieved, or created
Throws:
JastorException

getAllObjectProperty

public static java.util.List<ObjectProperty> getAllObjectProperty(INamedGraph graph)
                                                           throws JastorException
Return an instance of ObjectProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#ObjectProperty

Parameters:
graph - the INamedGraph
Returns:
a List of ObjectProperty
Throws:
JastorException

createAnnotationProperty

public static AnnotationProperty createAnnotationProperty(org.openrdf.model.Resource resource,
                                                          INamedGraph graph)
                                                   throws JastorException
Create a new instance of AnnotationProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the AnnotationProperty
graph - the INamedGraph containing data.
Returns:
the AnnotationProperty created
Throws:
JastorException

createAnnotationProperty

public static AnnotationProperty createAnnotationProperty(java.lang.String uri,
                                                          INamedGraph graph)
                                                   throws JastorException
Create a new instance of AnnotationProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the AnnotationProperty
graph - the INamedGraph containing data.
Returns:
the AnnotationProperty created
Throws:
JastorException

getAnnotationProperty

public static AnnotationProperty getAnnotationProperty(java.lang.String uri,
                                                       INamedGraph graph)
                                                throws JastorException
Create a new instance of AnnotationProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the AnnotationProperty
graph - the INamedGraph containing data.
Returns:
the AnnotationProperty retrieved, or created
Throws:
JastorException

getAnnotationProperty

public static AnnotationProperty getAnnotationProperty(org.openrdf.model.Resource resource,
                                                       INamedGraph graph)
                                                throws JastorException
Create a new instance of AnnotationProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the AnnotationProperty
graph - the INamedGraph containing data.
Returns:
the AnnotationProperty retrieved, or created
Throws:
JastorException

getAllAnnotationProperty

public static java.util.List<AnnotationProperty> getAllAnnotationProperty(INamedGraph graph)
                                                                   throws JastorException
Return an instance of AnnotationProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#AnnotationProperty

Parameters:
graph - the INamedGraph
Returns:
a List of AnnotationProperty
Throws:
JastorException

createOWLEntity

public static OWLEntity createOWLEntity(org.openrdf.model.Resource resource,
                                        INamedGraph graph)
                                 throws JastorException
Create a new instance of OWLEntity. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the OWLEntity
graph - the INamedGraph containing data.
Returns:
the OWLEntity created
Throws:
JastorException

createOWLEntity

public static OWLEntity createOWLEntity(java.lang.String uri,
                                        INamedGraph graph)
                                 throws JastorException
Create a new instance of OWLEntity. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the OWLEntity
graph - the INamedGraph containing data.
Returns:
the OWLEntity created
Throws:
JastorException

getOWLEntity

public static OWLEntity getOWLEntity(java.lang.String uri,
                                     INamedGraph graph)
                              throws JastorException
Create a new instance of OWLEntity. Leaves the graph unchanged.

Parameters:
uri - The uri of the OWLEntity
graph - the INamedGraph containing data.
Returns:
the OWLEntity retrieved, or created
Throws:
JastorException

getOWLEntity

public static OWLEntity getOWLEntity(org.openrdf.model.Resource resource,
                                     INamedGraph graph)
                              throws JastorException
Create a new instance of OWLEntity. Leaves the graph unchanged.

Parameters:
resource - The resource of the OWLEntity
graph - the INamedGraph containing data.
Returns:
the OWLEntity retrieved, or created
Throws:
JastorException

getAllOWLEntity

public static java.util.List<OWLEntity> getAllOWLEntity(INamedGraph graph)
                                                 throws JastorException
Return an instance of OWLEntity for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#OWLEntity

Parameters:
graph - the INamedGraph
Returns:
a List of OWLEntity
Throws:
JastorException

createIrreflexiveProperty

public static IrreflexiveProperty createIrreflexiveProperty(org.openrdf.model.Resource resource,
                                                            INamedGraph graph)
                                                     throws JastorException
Create a new instance of IrreflexiveProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the IrreflexiveProperty
graph - the INamedGraph containing data.
Returns:
the IrreflexiveProperty created
Throws:
JastorException

createIrreflexiveProperty

public static IrreflexiveProperty createIrreflexiveProperty(java.lang.String uri,
                                                            INamedGraph graph)
                                                     throws JastorException
Create a new instance of IrreflexiveProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the IrreflexiveProperty
graph - the INamedGraph containing data.
Returns:
the IrreflexiveProperty created
Throws:
JastorException

getIrreflexiveProperty

public static IrreflexiveProperty getIrreflexiveProperty(java.lang.String uri,
                                                         INamedGraph graph)
                                                  throws JastorException
Create a new instance of IrreflexiveProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the IrreflexiveProperty
graph - the INamedGraph containing data.
Returns:
the IrreflexiveProperty retrieved, or created
Throws:
JastorException

getIrreflexiveProperty

public static IrreflexiveProperty getIrreflexiveProperty(org.openrdf.model.Resource resource,
                                                         INamedGraph graph)
                                                  throws JastorException
Create a new instance of IrreflexiveProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the IrreflexiveProperty
graph - the INamedGraph containing data.
Returns:
the IrreflexiveProperty retrieved, or created
Throws:
JastorException

getAllIrreflexiveProperty

public static java.util.List<IrreflexiveProperty> getAllIrreflexiveProperty(INamedGraph graph)
                                                                     throws JastorException
Return an instance of IrreflexiveProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#IrreflexiveProperty

Parameters:
graph - the INamedGraph
Returns:
a List of IrreflexiveProperty
Throws:
JastorException

createReflexiveProperty

public static ReflexiveProperty createReflexiveProperty(org.openrdf.model.Resource resource,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of ReflexiveProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the ReflexiveProperty
graph - the INamedGraph containing data.
Returns:
the ReflexiveProperty created
Throws:
JastorException

createReflexiveProperty

public static ReflexiveProperty createReflexiveProperty(java.lang.String uri,
                                                        INamedGraph graph)
                                                 throws JastorException
Create a new instance of ReflexiveProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the ReflexiveProperty
graph - the INamedGraph containing data.
Returns:
the ReflexiveProperty created
Throws:
JastorException

getReflexiveProperty

public static ReflexiveProperty getReflexiveProperty(java.lang.String uri,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of ReflexiveProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the ReflexiveProperty
graph - the INamedGraph containing data.
Returns:
the ReflexiveProperty retrieved, or created
Throws:
JastorException

getReflexiveProperty

public static ReflexiveProperty getReflexiveProperty(org.openrdf.model.Resource resource,
                                                     INamedGraph graph)
                                              throws JastorException
Create a new instance of ReflexiveProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the ReflexiveProperty
graph - the INamedGraph containing data.
Returns:
the ReflexiveProperty retrieved, or created
Throws:
JastorException

getAllReflexiveProperty

public static java.util.List<ReflexiveProperty> getAllReflexiveProperty(INamedGraph graph)
                                                                 throws JastorException
Return an instance of ReflexiveProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#ReflexiveProperty

Parameters:
graph - the INamedGraph
Returns:
a List of ReflexiveProperty
Throws:
JastorException

createNothing

public static Nothing createNothing(org.openrdf.model.Resource resource,
                                    INamedGraph graph)
                             throws JastorException
Create a new instance of Nothing. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the Nothing
graph - the INamedGraph containing data.
Returns:
the Nothing created
Throws:
JastorException

createNothing

public static Nothing createNothing(java.lang.String uri,
                                    INamedGraph graph)
                             throws JastorException
Create a new instance of Nothing. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the Nothing
graph - the INamedGraph containing data.
Returns:
the Nothing created
Throws:
JastorException

getNothing

public static Nothing getNothing(java.lang.String uri,
                                 INamedGraph graph)
                          throws JastorException
Create a new instance of Nothing. Leaves the graph unchanged.

Parameters:
uri - The uri of the Nothing
graph - the INamedGraph containing data.
Returns:
the Nothing retrieved, or created
Throws:
JastorException

getNothing

public static Nothing getNothing(org.openrdf.model.Resource resource,
                                 INamedGraph graph)
                          throws JastorException
Create a new instance of Nothing. Leaves the graph unchanged.

Parameters:
resource - The resource of the Nothing
graph - the INamedGraph containing data.
Returns:
the Nothing retrieved, or created
Throws:
JastorException

getAllNothing

public static java.util.List<Nothing> getAllNothing(INamedGraph graph)
                                             throws JastorException
Return an instance of Nothing for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Nothing

Parameters:
graph - the INamedGraph
Returns:
a List of Nothing
Throws:
JastorException

createFunctionalObjectProperty

public static FunctionalObjectProperty createFunctionalObjectProperty(org.openrdf.model.Resource resource,
                                                                      INamedGraph graph)
                                                               throws JastorException
Create a new instance of FunctionalObjectProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the FunctionalObjectProperty
graph - the INamedGraph containing data.
Returns:
the FunctionalObjectProperty created
Throws:
JastorException

createFunctionalObjectProperty

public static FunctionalObjectProperty createFunctionalObjectProperty(java.lang.String uri,
                                                                      INamedGraph graph)
                                                               throws JastorException
Create a new instance of FunctionalObjectProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the FunctionalObjectProperty
graph - the INamedGraph containing data.
Returns:
the FunctionalObjectProperty created
Throws:
JastorException

getFunctionalObjectProperty

public static FunctionalObjectProperty getFunctionalObjectProperty(java.lang.String uri,
                                                                   INamedGraph graph)
                                                            throws JastorException
Create a new instance of FunctionalObjectProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the FunctionalObjectProperty
graph - the INamedGraph containing data.
Returns:
the FunctionalObjectProperty retrieved, or created
Throws:
JastorException

getFunctionalObjectProperty

public static FunctionalObjectProperty getFunctionalObjectProperty(org.openrdf.model.Resource resource,
                                                                   INamedGraph graph)
                                                            throws JastorException
Create a new instance of FunctionalObjectProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the FunctionalObjectProperty
graph - the INamedGraph containing data.
Returns:
the FunctionalObjectProperty retrieved, or created
Throws:
JastorException

getAllFunctionalObjectProperty

public static java.util.List<FunctionalObjectProperty> getAllFunctionalObjectProperty(INamedGraph graph)
                                                                               throws JastorException
Return an instance of FunctionalObjectProperty for every resource in the model with rdf:Type http://www.w3.org/2006/12/owl11#FunctionalObjectProperty

Parameters:
graph - the INamedGraph
Returns:
a List of FunctionalObjectProperty
Throws:
JastorException

createDataRange

public static DataRange createDataRange(org.openrdf.model.Resource resource,
                                        INamedGraph graph)
                                 throws JastorException
Create a new instance of DataRange. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the DataRange
graph - the INamedGraph containing data.
Returns:
the DataRange created
Throws:
JastorException

createDataRange

public static DataRange createDataRange(java.lang.String uri,
                                        INamedGraph graph)
                                 throws JastorException
Create a new instance of DataRange. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the DataRange
graph - the INamedGraph containing data.
Returns:
the DataRange created
Throws:
JastorException

getDataRange

public static DataRange getDataRange(java.lang.String uri,
                                     INamedGraph graph)
                              throws JastorException
Create a new instance of DataRange. Leaves the graph unchanged.

Parameters:
uri - The uri of the DataRange
graph - the INamedGraph containing data.
Returns:
the DataRange retrieved, or created
Throws:
JastorException

getDataRange

public static DataRange getDataRange(org.openrdf.model.Resource resource,
                                     INamedGraph graph)
                              throws JastorException
Create a new instance of DataRange. Leaves the graph unchanged.

Parameters:
resource - The resource of the DataRange
graph - the INamedGraph containing data.
Returns:
the DataRange retrieved, or created
Throws:
JastorException

getAllDataRange

public static java.util.List<DataRange> getAllDataRange(INamedGraph graph)
                                                 throws JastorException
Return an instance of DataRange for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#DataRange

Parameters:
graph - the INamedGraph
Returns:
a List of DataRange
Throws:
JastorException

createRestriction

public static Restriction createRestriction(org.openrdf.model.Resource resource,
                                            INamedGraph graph)
                                     throws JastorException
Create a new instance of Restriction. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the Restriction
graph - the INamedGraph containing data.
Returns:
the Restriction created
Throws:
JastorException

createRestriction

public static Restriction createRestriction(java.lang.String uri,
                                            INamedGraph graph)
                                     throws JastorException
Create a new instance of Restriction. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the Restriction
graph - the INamedGraph containing data.
Returns:
the Restriction created
Throws:
JastorException

getRestriction

public static Restriction getRestriction(java.lang.String uri,
                                         INamedGraph graph)
                                  throws JastorException
Create a new instance of Restriction. Leaves the graph unchanged.

Parameters:
uri - The uri of the Restriction
graph - the INamedGraph containing data.
Returns:
the Restriction retrieved, or created
Throws:
JastorException

getRestriction

public static Restriction getRestriction(org.openrdf.model.Resource resource,
                                         INamedGraph graph)
                                  throws JastorException
Create a new instance of Restriction. Leaves the graph unchanged.

Parameters:
resource - The resource of the Restriction
graph - the INamedGraph containing data.
Returns:
the Restriction retrieved, or created
Throws:
JastorException

getAllRestriction

public static java.util.List<Restriction> getAllRestriction(INamedGraph graph)
                                                     throws JastorException
Return an instance of Restriction for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Restriction

Parameters:
graph - the INamedGraph
Returns:
a List of Restriction
Throws:
JastorException

createFunctionalProperty

public static FunctionalProperty createFunctionalProperty(org.openrdf.model.Resource resource,
                                                          INamedGraph graph)
                                                   throws JastorException
Create a new instance of FunctionalProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the FunctionalProperty
graph - the INamedGraph containing data.
Returns:
the FunctionalProperty created
Throws:
JastorException

createFunctionalProperty

public static FunctionalProperty createFunctionalProperty(java.lang.String uri,
                                                          INamedGraph graph)
                                                   throws JastorException
Create a new instance of FunctionalProperty. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the FunctionalProperty
graph - the INamedGraph containing data.
Returns:
the FunctionalProperty created
Throws:
JastorException

getFunctionalProperty

public static FunctionalProperty getFunctionalProperty(java.lang.String uri,
                                                       INamedGraph graph)
                                                throws JastorException
Create a new instance of FunctionalProperty. Leaves the graph unchanged.

Parameters:
uri - The uri of the FunctionalProperty
graph - the INamedGraph containing data.
Returns:
the FunctionalProperty retrieved, or created
Throws:
JastorException

getFunctionalProperty

public static FunctionalProperty getFunctionalProperty(org.openrdf.model.Resource resource,
                                                       INamedGraph graph)
                                                throws JastorException
Create a new instance of FunctionalProperty. Leaves the graph unchanged.

Parameters:
resource - The resource of the FunctionalProperty
graph - the INamedGraph containing data.
Returns:
the FunctionalProperty retrieved, or created
Throws:
JastorException

getAllFunctionalProperty

public static java.util.List<FunctionalProperty> getAllFunctionalProperty(INamedGraph graph)
                                                                   throws JastorException
Return an instance of FunctionalProperty for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#FunctionalProperty

Parameters:
graph - the INamedGraph
Returns:
a List of FunctionalProperty
Throws:
JastorException

create_Thing

public static _Thing create_Thing(org.openrdf.model.Resource resource,
                                  INamedGraph graph)
                           throws JastorException
Create a new instance of _Thing. Adds the rdf:type property for the given resource to the graph.

Parameters:
resource - The resource of the _Thing
graph - the INamedGraph containing data.
Returns:
the _Thing created
Throws:
JastorException

create_Thing

public static _Thing create_Thing(java.lang.String uri,
                                  INamedGraph graph)
                           throws JastorException
Create a new instance of _Thing. Adds the rdf:type property for the given resource to the graph.

Parameters:
uri - The uri of the _Thing
graph - the INamedGraph containing data.
Returns:
the _Thing created
Throws:
JastorException

get_Thing

public static _Thing get_Thing(java.lang.String uri,
                               INamedGraph graph)
                        throws JastorException
Create a new instance of _Thing. Leaves the graph unchanged.

Parameters:
uri - The uri of the _Thing
graph - the INamedGraph containing data.
Returns:
the _Thing retrieved, or created
Throws:
JastorException

get_Thing

public static _Thing get_Thing(org.openrdf.model.Resource resource,
                               INamedGraph graph)
                        throws JastorException
Create a new instance of _Thing. Leaves the graph unchanged.

Parameters:
resource - The resource of the _Thing
graph - the INamedGraph containing data.
Returns:
the _Thing retrieved, or created
Throws:
JastorException

getAll_Thing

public static java.util.List<_Thing> getAll_Thing(INamedGraph graph)
                                           throws JastorException
Return an instance of _Thing for every resource in the model with rdf:Type http://www.w3.org/2002/07/owl#Thing

Parameters:
graph - the INamedGraph
Returns:
a List of _Thing
Throws:
JastorException

getGraphThing

public static GraphThing getGraphThing(org.openrdf.model.Resource res,
                                       INamedGraph graph)
                                throws JastorException
Returns an instance of an interface for the given Resource. The return instance is guaranteed to implement the most specific interface in *some* hierarchy in which the Resource participates. The behavior is unspecified for resources with RDF types from different hierarchies.

Returns:
an instance of Thing
Throws:
JastorException

getGraphThing

public static GraphThing getGraphThing(java.lang.String uri,
                                       INamedGraph graph)
                                throws JastorException
Returns an instance of an interface for the given Resource URI. The return instance is guaranteed to implement the most specific interface in *some* hierarchy in which the Resource participates. The behavior is unspecified for resources with RDF types from different hierarchies.

Returns:
an instance of Thing
Throws:
JastorException

listCompatibleInterfaces

public static java.util.List<java.lang.Class<? extends GraphThing>> listCompatibleInterfaces(org.openrdf.model.Resource type)
Return a list of compatible interfaces for the given type. Searches through all ontology classes in the OWL11 ontology.

Parameters:
type - the type for which to find compatible interfaces
Returns:
a List of type java.lang.Class


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.