public final class ExpressionFactory extends Object
Factory for creating Expressions
which are collections of RDF statements that are equivalent to
the OWL axiom(s) they represent as defined by the OWL2 to RDF mapping spec. Some distinctions are not exactly
preserved, for example, this only provides a single method for the AllValuesFrom axiom (all(IRI, Resource)
)
where in the spec there are separate axioms defined for DataAllValuesFrom and ObjectAllValuesFrom. If you need that
level of precision, you should use an OWL-centric API such as Ortiz. This class exists on an best effort basis to
mirror the mappings defined in the spec and still provide a simple RDF centric (and programmer friendly) interface.
Expression
Modifier and Type | Class and Description |
---|---|
static class |
ExpressionFactory.ClassExpression
An expression about a class
|
static class |
ExpressionFactory.Datatype
A datatype expression
|
static class |
ExpressionFactory.Datatypes
Class which represents the various different datatypes
|
static class |
ExpressionFactory.ExpressionList<T extends Expression>
Expression which represents an rdf:List of other expressions.
|
static class |
ExpressionFactory.Facet
Enumeration of the possible facets for a
ExpressionFactory.FacetRestriction on a ExpressionFactory.NamedDatatype |
static class |
ExpressionFactory.FacetRestriction
A restriction on a facet of a datatype.
|
static class |
ExpressionFactory.NamedDatatype
A named datatype expression
|
static class |
ExpressionFactory.PropertyExpression
An expression about a property
|
static class |
ExpressionFactory.RestrictedDatatype
A user-defined datatype which has facet restrictions placed on its value
|
Modifier and Type | Method and Description |
---|---|
static ExpressionFactory.ClassExpression |
all(ExpressionFactory.PropertyExpression theProperty,
Expression theResource)
Create a new AllValuesFrom expression
|
static ExpressionFactory.ClassExpression |
all(ExpressionFactory.PropertyExpression theProperty,
org.openrdf.model.Resource theResource)
Create a new AllValuesFrom expression
|
static ExpressionFactory.ClassExpression |
all(org.openrdf.model.IRI theProperty,
Expression theResource)
Create a new AllValuesFrom expression
|
static ExpressionFactory.ClassExpression |
all(org.openrdf.model.IRI theProperty,
org.openrdf.model.Resource theResource)
Create a new AllValuesFrom expression
|
static ExpressionFactory.ClassExpression |
and(ExpressionFactory.ClassExpression... theExpr)
Create an And (owl:intersectionOf) expression
|
static ExpressionFactory.ClassExpression |
and(org.openrdf.model.Resource... ex)
Create an And (owl:intersectionOf) expression
|
static ExpressionFactory.PropertyExpression |
asymmetricProperty(org.openrdf.model.IRI theURI)
Create a new owl:AsymmetricProperty expression
|
static ExpressionFactory.ClassExpression |
cardinality(org.openrdf.model.IRI theURI,
int theCard)
Create a new exact cardinality expression
|
static ExpressionFactory.ClassExpression |
cardinality(org.openrdf.model.IRI theURI,
int theCard,
ExpressionFactory.ClassExpression theClass)
Create a new exact cardinality expression
|
static ExpressionFactory.ClassExpression |
cardinality(org.openrdf.model.IRI theURI,
int theCard,
org.openrdf.model.Resource theClass)
Create a new max cardinality expression
|
static Expression |
classAssertion(org.openrdf.model.Resource theIndividual,
org.openrdf.model.Resource theClass)
Create a new ClassAssertion(iID, c) expression
|
static ExpressionFactory.ClassExpression |
complementOf(org.openrdf.model.Resource theRes)
Return a ComplementOf expression
|
static ExpressionFactory.PropertyExpression |
dataProperty(org.openrdf.model.IRI theURI)
Create a DataProperty(theURI) expression
|
static Expression |
declareClass(org.openrdf.model.IRI theURI)
Create a Declaration(OWLClass(theURI)) expression
|
static Expression |
declareDataProperty(org.openrdf.model.IRI theURI)
Create a Declaration(DataProperty(theURI)) expression
|
static Expression |
declareIndividual(org.openrdf.model.Resource theResource)
Create a Declaration(Individual(theResource)) expression
|
static Expression |
declareObjectProperty(org.openrdf.model.IRI theURI)
Create a Declaration(ObjectProperty(theURI)) expression
|
static Expression |
differentIndividuals(Expression... theIndividuals)
Create a new DifferentIndividuals(iID(1) ...
|
static Expression |
differentIndividuals(org.openrdf.model.Resource... theIndividuals)
Create a new DifferentIndividuals(iID(1) ...
|
static Expression |
disjointClasses(ExpressionFactory.ClassExpression... theClasses)
Create an DisjointClasses expression
|
static Expression |
disjointClasses(org.openrdf.model.Resource... theClasses)
Create an DisjointClasses expression
|
static Expression |
disjointDataProperties(org.openrdf.model.IRI... theProperties)
Create a DisjointDataProperties(...) expression
|
static Expression |
disjointObjectProperties(org.openrdf.model.IRI... theProperties)
Create a DisjointObjectProperties(...) expression
|
static Expression |
domain(Expression theProperty,
org.openrdf.model.Resource theClass)
Create a new domain expression
|
static Expression |
domain(org.openrdf.model.IRI theProperty,
ExpressionFactory.ClassExpression theClass)
Create a new domain expression
|
static Expression |
domain(org.openrdf.model.IRI theProperty,
org.openrdf.model.Resource theClass)
Create a new domain expression
|
static Expression |
equivalentClasses(ExpressionFactory.ClassExpression... theClasses)
Create an EquivalentClasses expression
|
static Expression |
equivalentClasses(org.openrdf.model.Resource... theClasses)
Create an EquivalentClasses expression
|
static Expression |
equivalentProperties(org.openrdf.model.Resource... theProperties)
Create an EquivalentProperties expression
|
static Expression |
fromStatements(Iterable<org.openrdf.model.Statement> theStatements)
Create an Expression directly from the provided set of statements.
|
static Expression |
fromStatements(org.openrdf.model.Statement... theStatements) |
static ExpressionFactory.PropertyExpression |
functionalProperty(org.openrdf.model.IRI theURI)
Create a new owl:FunctionalProperty expression
|
static ExpressionFactory.ClassExpression |
hasValue(org.openrdf.model.IRI theProperty,
org.openrdf.model.Value theValue)
Create a new HasValue(...) expression
|
static ExpressionFactory.PropertyExpression |
inverse(ExpressionFactory.PropertyExpression theProp)
Create a new owl:inverseObjectPropertyExpression expression
|
static ExpressionFactory.PropertyExpression |
inverse(org.openrdf.model.IRI theProp)
Create a new owl:inverseObjectPropertyExpression expression
|
static ExpressionFactory.PropertyExpression |
inverseFunctionalProperty(org.openrdf.model.IRI theURI)
Create a new owl:InverseFunctionalProperty expression
|
static Expression |
inverseOf(ExpressionFactory.PropertyExpression theProperty,
ExpressionFactory.PropertyExpression theInverse)
Create a new inverseOf expression
|
static Expression |
inverseOf(ExpressionFactory.PropertyExpression theProperty,
org.openrdf.model.IRI theInverse)
Create a new inverseOf expression
|
static Expression |
inverseOf(org.openrdf.model.IRI theProperty,
ExpressionFactory.PropertyExpression theInverse)
Create a new inverseOf expression
|
static Expression |
inverseOf(org.openrdf.model.IRI theProperty,
org.openrdf.model.IRI theInverse)
Create a new inverseOf expression
|
static ExpressionFactory.PropertyExpression |
irreflexiveProperty(org.openrdf.model.IRI theURI)
Create a new owl:IrreflexiveProperty expression
|
static ExpressionFactory.ClassExpression |
max(ExpressionFactory.PropertyExpression theURI,
int theCard)
Create a new max cardinality expression
|
static ExpressionFactory.ClassExpression |
max(ExpressionFactory.PropertyExpression theURI,
int theCard,
ExpressionFactory.ClassExpression theClass)
Create a new max cardinality expression
|
static ExpressionFactory.ClassExpression |
max(org.openrdf.model.IRI theURI,
int theCard)
Create a new max cardinality expression
|
static ExpressionFactory.ClassExpression |
max(org.openrdf.model.IRI theURI,
int theCard,
ExpressionFactory.ClassExpression theClass)
Create a new max cardinality expression
|
static ExpressionFactory.ClassExpression |
max(org.openrdf.model.IRI theURI,
int theCard,
org.openrdf.model.Resource theClass)
Create a new max cardinality expression
|
static ExpressionFactory.ClassExpression |
min(ExpressionFactory.PropertyExpression theURI,
int theCard)
Create a new min cardinality expression
|
static ExpressionFactory.ClassExpression |
min(ExpressionFactory.PropertyExpression theURI,
int theCard,
ExpressionFactory.ClassExpression theClass)
Create a new min cardinality expression
|
static ExpressionFactory.ClassExpression |
min(org.openrdf.model.IRI theURI,
int theCard)
Create a new min cardinality expression
|
static ExpressionFactory.ClassExpression |
min(org.openrdf.model.IRI theURI,
int theCard,
ExpressionFactory.ClassExpression theClass)
Create a new min cardinality expression
|
static ExpressionFactory.ClassExpression |
min(org.openrdf.model.IRI theURI,
int theCard,
org.openrdf.model.Resource theClass)
Create a new min cardinality expression
|
static ExpressionFactory.ClassExpression |
namedClass(org.openrdf.model.IRI theURI)
Create a new named class
|
static Expression |
negativeDataPropertyAssertion(org.openrdf.model.Resource theSubject,
org.openrdf.model.IRI thePredicate,
org.openrdf.model.Value theObject)
Create a new NegativeDataPropertyAssertion
|
static Expression |
negativeObjectPropertyAssertion(org.openrdf.model.Resource theSubject,
org.openrdf.model.IRI thePredicate,
org.openrdf.model.Value theObject)
Create a new NegativeObjectPropertyAssertion
|
static ExpressionFactory.PropertyExpression |
objectProperty(org.openrdf.model.IRI theURI)
Create a ObjectProperty(theURI) expression
|
static ExpressionFactory.Datatype |
oneOf(org.openrdf.model.Literal... ex)
Create an enumerated datatype (owl:oneOf)
|
static ExpressionFactory.ClassExpression |
oneOf(org.openrdf.model.Resource... ex)
Create an enumerated class (owl:oneOf)
|
static ExpressionFactory.ClassExpression |
or(ExpressionFactory.ClassExpression... theExpr)
Create an Or (owl:unionOf) expression
|
static ExpressionFactory.ClassExpression |
or(org.openrdf.model.Resource... ex)
Create an Or (owl:unionOf) expression
|
static ExpressionFactory.ExpressionList<ExpressionFactory.PropertyExpression> |
propertyList(ExpressionFactory.PropertyExpression... theExpr)
Create a new property list
|
static ExpressionFactory.ExpressionList<ExpressionFactory.PropertyExpression> |
propertyList(org.openrdf.model.IRI... theProps)
Create a new property list
|
static Expression |
range(ExpressionFactory.PropertyExpression theProperty,
org.openrdf.model.Resource theClass)
Create a new range expression
|
static Expression |
range(org.openrdf.model.IRI theProperty,
ExpressionFactory.ClassExpression theClass)
Create a new range expression
|
static Expression |
range(org.openrdf.model.IRI theProperty,
ExpressionFactory.Datatype theRange)
Create a new range expression
|
static Expression |
range(org.openrdf.model.IRI theProperty,
org.openrdf.model.Resource theClass)
Create a new range expression
|
static ExpressionFactory.PropertyExpression |
reflexiveProperty(org.openrdf.model.IRI theURI)
Create a new owl:ReflexiveProperty expression
|
static ExpressionFactory.RestrictedDatatype |
restrict(ExpressionFactory.NamedDatatype theDatatype,
ExpressionFactory.FacetRestriction... theRestrictions)
Create a new RestrictedDatatype
|
static Expression |
rule(String theRuleBody)
Create a new rule expression in Stardog rules syntax.
|
static Expression |
sameIndividuals(org.openrdf.model.Resource... theIndividuals)
Create a new SameIndividual(iID(1) ...
|
static ExpressionFactory.ClassExpression |
some(ExpressionFactory.PropertyExpression theProperty,
Expression theResource)
Create a new SomeValuesFrom expression
|
static ExpressionFactory.ClassExpression |
some(org.openrdf.model.IRI theProperty,
Expression theResource)
Create a new SomeValuesFrom expression
|
static ExpressionFactory.ClassExpression |
some(org.openrdf.model.IRI theProperty,
org.openrdf.model.Resource theResource)
Create a new SomeValuesFrom expression
|
static Expression |
subClassOf(ExpressionFactory.ClassExpression sub,
ExpressionFactory.ClassExpression sup)
Create a new subClassOf expression
|
static Expression |
subClassOf(ExpressionFactory.ClassExpression sub,
org.openrdf.model.Resource sup)
Create a new subClassOf expression
|
static Expression |
subClassOf(org.openrdf.model.Resource sub,
ExpressionFactory.ClassExpression sup)
Create a new subClassOf expression
|
static Expression |
subClassOf(org.openrdf.model.Resource sub,
org.openrdf.model.Resource sup)
Create a new subClassOf expression
|
static Expression |
subPropertyOf(ExpressionFactory.ExpressionList<ExpressionFactory.PropertyExpression> theList,
ExpressionFactory.PropertyExpression theProperty)
Create a new subPropertyOf expression for a property chain axiom.
|
static Expression |
subPropertyOf(ExpressionFactory.PropertyExpression theSub,
ExpressionFactory.PropertyExpression theSuper)
Create a new subClassOf expression
|
static Expression |
subPropertyOf(ExpressionFactory.PropertyExpression theSub,
org.openrdf.model.IRI theSuper)
Create a new subPropertyOf expression
|
static Expression |
subPropertyOf(org.openrdf.model.IRI theSub,
ExpressionFactory.PropertyExpression theSuper)
Create a new subClassOf expression
|
static Expression |
subPropertyOf(org.openrdf.model.IRI theSub,
org.openrdf.model.IRI theSuper)
Create a new subPropertyOf expression
|
static ExpressionFactory.PropertyExpression |
symmetricProperty(org.openrdf.model.IRI theURI)
Create a new owl:SymmetricProperty expression
|
static ExpressionFactory.PropertyExpression |
transitiveProperty(org.openrdf.model.IRI theURI)
Create a new owl:TransitiveProperty expression
|
static Expression |
type(org.openrdf.model.Resource theInd,
ExpressionFactory.ClassExpression theClass)
Create a new type assertion expression
|
static Expression |
type(org.openrdf.model.Resource theInd,
org.openrdf.model.IRI theClass)
Create a new type assertion expression
|
public static Expression rule(String theRuleBody)
theRuleBody
- the rule bodypublic static Expression type(org.openrdf.model.Resource theInd, org.openrdf.model.IRI theClass)
theInd
- the individualtheClass
- the type of the individualpublic static Expression type(org.openrdf.model.Resource theInd, ExpressionFactory.ClassExpression theClass)
theInd
- the individualtheClass
- the type of the individualpublic static Expression fromStatements(Iterable<org.openrdf.model.Statement> theStatements)
theStatements
- the collection of statements corresponding to one or more axioms.public static Expression fromStatements(org.openrdf.model.Statement... theStatements)
public static ExpressionFactory.ClassExpression namedClass(org.openrdf.model.IRI theURI)
theURI
- the URI of the classpublic static ExpressionFactory.PropertyExpression transitiveProperty(org.openrdf.model.IRI theURI)
theURI
- the property URIpublic static ExpressionFactory.PropertyExpression reflexiveProperty(org.openrdf.model.IRI theURI)
theURI
- the property URIpublic static ExpressionFactory.PropertyExpression irreflexiveProperty(org.openrdf.model.IRI theURI)
theURI
- the property URIpublic static ExpressionFactory.PropertyExpression symmetricProperty(org.openrdf.model.IRI theURI)
theURI
- the property URIpublic static ExpressionFactory.PropertyExpression asymmetricProperty(org.openrdf.model.IRI theURI)
theURI
- the property URIpublic static ExpressionFactory.PropertyExpression functionalProperty(org.openrdf.model.IRI theURI)
theURI
- the property URIpublic static ExpressionFactory.PropertyExpression inverseFunctionalProperty(org.openrdf.model.IRI theURI)
theURI
- the property URIpublic static ExpressionFactory.PropertyExpression inverse(org.openrdf.model.IRI theProp)
theProp
- the property to state the inverse expression aboutpublic static ExpressionFactory.PropertyExpression inverse(ExpressionFactory.PropertyExpression theProp)
theProp
- the property to state the inverse expression aboutpublic static Expression subClassOf(org.openrdf.model.Resource sub, org.openrdf.model.Resource sup)
sub
- the subclasssup
- the super classpublic static Expression subClassOf(ExpressionFactory.ClassExpression sub, ExpressionFactory.ClassExpression sup)
sub
- the subclasssup
- the super classpublic static Expression subClassOf(ExpressionFactory.ClassExpression sub, org.openrdf.model.Resource sup)
sub
- the subclasssup
- the super classpublic static Expression subClassOf(org.openrdf.model.Resource sub, ExpressionFactory.ClassExpression sup)
sub
- the subclasssup
- the super classpublic static Expression range(org.openrdf.model.IRI theProperty, org.openrdf.model.Resource theClass)
theProperty
- the propertytheClass
- the range of the propertypublic static Expression range(ExpressionFactory.PropertyExpression theProperty, org.openrdf.model.Resource theClass)
theProperty
- the propertytheClass
- the range of the propertypublic static Expression range(org.openrdf.model.IRI theProperty, ExpressionFactory.ClassExpression theClass)
theProperty
- the propertytheClass
- the range of the propertypublic static Expression range(org.openrdf.model.IRI theProperty, ExpressionFactory.Datatype theRange)
theProperty
- the propertytheRange
- the range of the propertypublic static Expression domain(org.openrdf.model.IRI theProperty, org.openrdf.model.Resource theClass)
theProperty
- the propertytheClass
- the domain of the propertypublic static Expression domain(Expression theProperty, org.openrdf.model.Resource theClass)
theProperty
- the propertytheClass
- the domain of the propertypublic static Expression domain(org.openrdf.model.IRI theProperty, ExpressionFactory.ClassExpression theClass)
theProperty
- the propertytheClass
- the domain of the propertypublic static ExpressionFactory.ClassExpression some(org.openrdf.model.IRI theProperty, org.openrdf.model.Resource theResource)
theProperty
- the propertytheResource
- the value restrictionpublic static ExpressionFactory.ClassExpression some(org.openrdf.model.IRI theProperty, Expression theResource)
theProperty
- the propertytheResource
- the value restrictionpublic static ExpressionFactory.ClassExpression some(ExpressionFactory.PropertyExpression theProperty, Expression theResource)
theProperty
- the property expressiontheResource
- the value restrictionpublic static ExpressionFactory.ClassExpression all(org.openrdf.model.IRI theProperty, org.openrdf.model.Resource theResource)
theProperty
- the propertytheResource
- the value restrictionpublic static ExpressionFactory.ClassExpression all(ExpressionFactory.PropertyExpression theProperty, org.openrdf.model.Resource theResource)
theProperty
- the property expressiontheResource
- the value restrictionpublic static ExpressionFactory.ClassExpression all(org.openrdf.model.IRI theProperty, Expression theResource)
theProperty
- the propertytheResource
- the value restrictionpublic static ExpressionFactory.ClassExpression all(ExpressionFactory.PropertyExpression theProperty, Expression theResource)
theProperty
- the propertytheResource
- the value restrictionpublic static ExpressionFactory.ClassExpression hasValue(org.openrdf.model.IRI theProperty, org.openrdf.model.Value theValue)
theProperty
- the propertytheValue
- the value of the propertypublic static ExpressionFactory.ClassExpression min(org.openrdf.model.IRI theURI, int theCard)
theURI
- the property the cardinality applies totheCard
- the min cardinalitypublic static ExpressionFactory.ClassExpression min(org.openrdf.model.IRI theURI, int theCard, org.openrdf.model.Resource theClass)
theURI
- the property the cardinality applies totheCard
- the min cardinalitytheClass
- the class the restriction applies topublic static ExpressionFactory.ClassExpression min(org.openrdf.model.IRI theURI, int theCard, ExpressionFactory.ClassExpression theClass)
theURI
- the property the cardinality applies totheCard
- the min cardinalitytheClass
- the class the restriction applies topublic static ExpressionFactory.ClassExpression min(ExpressionFactory.PropertyExpression theURI, int theCard)
theURI
- the property the cardinality applies totheCard
- the min cardinalitypublic static ExpressionFactory.ClassExpression min(ExpressionFactory.PropertyExpression theURI, int theCard, ExpressionFactory.ClassExpression theClass)
theURI
- the property the cardinality applies totheCard
- the min cardinalitytheClass
- the class the restriction applies topublic static ExpressionFactory.ClassExpression max(ExpressionFactory.PropertyExpression theURI, int theCard)
theURI
- the property the cardinality applies totheCard
- the max cardinalitypublic static ExpressionFactory.ClassExpression max(ExpressionFactory.PropertyExpression theURI, int theCard, ExpressionFactory.ClassExpression theClass)
theURI
- the property the cardinality applies totheCard
- the max cardinalitytheClass
- the class the restriction applies topublic static ExpressionFactory.ClassExpression max(org.openrdf.model.IRI theURI, int theCard)
theURI
- the property the cardinality applies totheCard
- the max cardinalitypublic static ExpressionFactory.ClassExpression max(org.openrdf.model.IRI theURI, int theCard, org.openrdf.model.Resource theClass)
theURI
- the property the cardinality applies totheCard
- the max cardinalitytheClass
- the class the restriction applies topublic static ExpressionFactory.ClassExpression max(org.openrdf.model.IRI theURI, int theCard, ExpressionFactory.ClassExpression theClass)
theURI
- the property the cardinality applies totheCard
- the max cardinalitytheClass
- the class the restriction applies topublic static ExpressionFactory.ClassExpression cardinality(org.openrdf.model.IRI theURI, int theCard)
theURI
- the property the cardinality applies totheCard
- the exact cardinalitypublic static ExpressionFactory.ClassExpression cardinality(org.openrdf.model.IRI theURI, int theCard, org.openrdf.model.Resource theClass)
theURI
- the property the cardinality applies totheCard
- the max cardinalitytheClass
- the class the restriction applies topublic static ExpressionFactory.ClassExpression cardinality(org.openrdf.model.IRI theURI, int theCard, ExpressionFactory.ClassExpression theClass)
theURI
- the property the cardinality applies totheCard
- the exact cardinalitytheClass
- the class the restriction applies topublic static ExpressionFactory.ClassExpression or(ExpressionFactory.ClassExpression... theExpr)
theExpr
- the values in the Orpublic static ExpressionFactory.ClassExpression or(org.openrdf.model.Resource... ex)
ex
- the values in the Orpublic static ExpressionFactory.ClassExpression and(ExpressionFactory.ClassExpression... theExpr)
theExpr
- the values in the Andpublic static ExpressionFactory.ClassExpression and(org.openrdf.model.Resource... ex)
ex
- the values in the Andpublic static ExpressionFactory.ClassExpression complementOf(org.openrdf.model.Resource theRes)
theRes
- the complementpublic static Expression disjointClasses(ExpressionFactory.ClassExpression... theClasses)
theClasses
- the values which are disjointpublic static Expression disjointClasses(org.openrdf.model.Resource... theClasses)
theClasses
- the values which are disjointpublic static Expression equivalentClasses(ExpressionFactory.ClassExpression... theClasses)
theClasses
- the values which are equivalentpublic static Expression equivalentClasses(org.openrdf.model.Resource... theClasses)
theClasses
- the values which are equivalentpublic static Expression equivalentProperties(org.openrdf.model.Resource... theProperties)
theProperties
- the values which are equivalentpublic static Expression classAssertion(org.openrdf.model.Resource theIndividual, org.openrdf.model.Resource theClass)
theIndividual
- the individualtheClass
- the classpublic static Expression differentIndividuals(org.openrdf.model.Resource... theIndividuals)
theIndividuals
- the individualspublic static Expression differentIndividuals(Expression... theIndividuals)
theIndividuals
- the individualspublic static Expression disjointDataProperties(org.openrdf.model.IRI... theProperties)
theProperties
- the disjoint propertiespublic static Expression disjointObjectProperties(org.openrdf.model.IRI... theProperties)
theProperties
- the disjoint propertiespublic static Expression sameIndividuals(org.openrdf.model.Resource... theIndividuals)
theIndividuals
- the individualspublic static Expression negativeObjectPropertyAssertion(org.openrdf.model.Resource theSubject, org.openrdf.model.IRI thePredicate, org.openrdf.model.Value theObject)
theSubject
- the subject of the assertionthePredicate
- the predicate of the assertiontheObject
- the object of the assertionpublic static Expression negativeDataPropertyAssertion(org.openrdf.model.Resource theSubject, org.openrdf.model.IRI thePredicate, org.openrdf.model.Value theObject)
theSubject
- the subject of the assertionthePredicate
- the predicate of the assertiontheObject
- the object of the assertionpublic static ExpressionFactory.PropertyExpression dataProperty(org.openrdf.model.IRI theURI)
theURI
- the the resourcepublic static ExpressionFactory.PropertyExpression objectProperty(org.openrdf.model.IRI theURI)
theURI
- the the resourcepublic static Expression declareClass(org.openrdf.model.IRI theURI)
theURI
- the the resourcepublic static Expression declareObjectProperty(org.openrdf.model.IRI theURI)
theURI
- the the resourcepublic static Expression declareDataProperty(org.openrdf.model.IRI theURI)
theURI
- the the resourcepublic static Expression declareIndividual(org.openrdf.model.Resource theResource)
theResource
- the the resourcepublic static Expression subPropertyOf(ExpressionFactory.ExpressionList<ExpressionFactory.PropertyExpression> theList, ExpressionFactory.PropertyExpression theProperty)
theList
- the property listtheProperty
- the propertypublic static Expression subPropertyOf(org.openrdf.model.IRI theSub, org.openrdf.model.IRI theSuper)
theSub
- the sub propertytheSuper
- the super propertypublic static Expression subPropertyOf(ExpressionFactory.PropertyExpression theSub, ExpressionFactory.PropertyExpression theSuper)
theSub
- the sub propertytheSuper
- the super propertypublic static ExpressionFactory.ExpressionList<ExpressionFactory.PropertyExpression> propertyList(org.openrdf.model.IRI... theProps)
theProps
- the properties in the listpublic static ExpressionFactory.ExpressionList<ExpressionFactory.PropertyExpression> propertyList(ExpressionFactory.PropertyExpression... theExpr)
theExpr
- the properties in the listpublic static Expression subPropertyOf(ExpressionFactory.PropertyExpression theSub, org.openrdf.model.IRI theSuper)
theSub
- the sub propertytheSuper
- the super propertypublic static Expression subPropertyOf(org.openrdf.model.IRI theSub, ExpressionFactory.PropertyExpression theSuper)
theSub
- the sub propertytheSuper
- the super propertypublic static Expression inverseOf(org.openrdf.model.IRI theProperty, org.openrdf.model.IRI theInverse)
theProperty
- the propertytheInverse
- the inverse propertypublic static Expression inverseOf(ExpressionFactory.PropertyExpression theProperty, ExpressionFactory.PropertyExpression theInverse)
theProperty
- the propertytheInverse
- the inverse propertypublic static Expression inverseOf(ExpressionFactory.PropertyExpression theProperty, org.openrdf.model.IRI theInverse)
theProperty
- the propertytheInverse
- the inverse propertypublic static Expression inverseOf(org.openrdf.model.IRI theProperty, ExpressionFactory.PropertyExpression theInverse)
theProperty
- the propertytheInverse
- the inverse propertypublic static ExpressionFactory.RestrictedDatatype restrict(ExpressionFactory.NamedDatatype theDatatype, ExpressionFactory.FacetRestriction... theRestrictions)
theDatatype
- the datatypetheRestrictions
- the restrictions on the datatypepublic static ExpressionFactory.ClassExpression oneOf(org.openrdf.model.Resource... ex)
ex
- the values in the enumerationpublic static ExpressionFactory.Datatype oneOf(org.openrdf.model.Literal... ex)
ex
- the values in the enumerationCopyright © 2010-2016 Stardog Union. All Rights Reserved.