public interface SWRLDataFactory
Modifier and Type | Method and Description |
---|---|
SWRLBuiltInAtom |
getSWRLBuiltInAtom(IRI builtInIRI,
List<SWRLDArgument> args)
Creates a SWRL Built-In atom.
|
SWRLClassAtom |
getSWRLClassAtom(OWLClassExpression predicate,
SWRLIArgument arg)
Gets a SWRL atom where the predicate is a class expression i.e.
|
SWRLDataPropertyAtom |
getSWRLDataPropertyAtom(OWLDataPropertyExpression property,
SWRLIArgument arg0,
SWRLDArgument arg1)
Gets a SWRL data property atom, i.e.
|
SWRLDataRangeAtom |
getSWRLDataRangeAtom(OWLDataRange predicate,
SWRLDArgument arg)
Gets a SWRL atom where the predicate is a data range, i.e.
|
SWRLDifferentIndividualsAtom |
getSWRLDifferentIndividualsAtom(SWRLIArgument arg0,
SWRLIArgument arg1) |
SWRLIndividualArgument |
getSWRLIndividualArgument(OWLIndividual individual)
Gets a SWRLIndividualArgument, which is used to wrap and OWLIndividual as
an argument for an atom.
|
SWRLLiteralArgument |
getSWRLLiteralArgument(OWLLiteral literal)
Gets a SWRLLiteralArgument, which is used to wrap an OWLLiteral to
provide an argument for an atom.
|
SWRLObjectPropertyAtom |
getSWRLObjectPropertyAtom(OWLObjectPropertyExpression property,
SWRLIArgument arg0,
SWRLIArgument arg1)
Gets a SWRL object property atom, i.e.
|
SWRLRule |
getSWRLRule(IRI iri,
Set<? extends SWRLAtom> body,
Set<? extends SWRLAtom> head)
Deprecated.
|
SWRLRule |
getSWRLRule(NodeID nodeID,
Set<? extends SWRLAtom> body,
Set<? extends SWRLAtom> head)
Deprecated.
|
SWRLRule |
getSWRLRule(Set<? extends SWRLAtom> body,
Set<? extends SWRLAtom> head)
Gets an anonymous SWRL Rule.
|
SWRLRule |
getSWRLRule(Set<? extends SWRLAtom> body,
Set<? extends SWRLAtom> head,
Set<OWLAnnotation> annotations)
Gets an anonymous SWRL Rule.
|
SWRLSameIndividualAtom |
getSWRLSameIndividualAtom(SWRLIArgument arg0,
SWRLIArgument arg1) |
SWRLVariable |
getSWRLVariable(IRI var)
Gets a SWRLVariable.
|
@Deprecated SWRLRule getSWRLRule(IRI iri, Set<? extends SWRLAtom> body, Set<? extends SWRLAtom> head)
getSWRLRule(java.util.Set, java.util.Set, java.util.Set)
or getSWRLRule(java.util.Set, java.util.Set)
instead.iri
- The iri of the rule - NOTE THAT THIS PARAMETER WILL BE IGNOREDbody
- The atoms that make up the body of the rulehead
- The atoms that make up the head of the rule@Deprecated SWRLRule getSWRLRule(NodeID nodeID, Set<? extends SWRLAtom> body, Set<? extends SWRLAtom> head)
getSWRLRule(java.util.Set, java.util.Set, java.util.Set)
or getSWRLRule(java.util.Set, java.util.Set)
instead.nodeID
- The node ID - NOTE THAT THIS PARAMETER WILL BE IGNOREDbody
- The atoms that make up the body of the rulehead
- The atoms that make up the head of the ruleSWRLRule getSWRLRule(Set<? extends SWRLAtom> body, Set<? extends SWRLAtom> head)
body
- The atoms that make up the bodyhead
- The atoms that make up the headSWRLRule getSWRLRule(Set<? extends SWRLAtom> body, Set<? extends SWRLAtom> head, Set<OWLAnnotation> annotations)
body
- The atoms that make up the bodyhead
- The atoms that make up the headannotations
- The annotations for the rule (may be an empty set)SWRLClassAtom getSWRLClassAtom(OWLClassExpression predicate, SWRLIArgument arg)
predicate
- The class expression that represents the predicate of the atomarg
- The argument (x)SWRLDataRangeAtom getSWRLDataRangeAtom(OWLDataRange predicate, SWRLDArgument arg)
predicate
- The data range that represents the predicate of the atomarg
- The argument (x)SWRLObjectPropertyAtom getSWRLObjectPropertyAtom(OWLObjectPropertyExpression property, SWRLIArgument arg0, SWRLIArgument arg1)
property
- The property (P) representing the atom predicatearg0
- The first argument (x)arg1
- The second argument (y)SWRLDataPropertyAtom getSWRLDataPropertyAtom(OWLDataPropertyExpression property, SWRLIArgument arg0, SWRLDArgument arg1)
property
- The property (P) that represents the atom predicatearg0
- The first argument (x)arg1
- The second argument (y)SWRLBuiltInAtom getSWRLBuiltInAtom(IRI builtInIRI, List<SWRLDArgument> args)
SWRLBuiltInsVocabulary
.builtInIRI
- The builtin predicate IRIargs
- A non-empty set of SWRL Arguments.IllegalArgumentException
- if the list of arguments is emptySWRLVariable getSWRLVariable(IRI var)
var
- The id (IRI) of the variableSWRLIndividualArgument getSWRLIndividualArgument(OWLIndividual individual)
individual
- The individual that is the object argumentSWRLLiteralArgument getSWRLLiteralArgument(OWLLiteral literal)
literal
- The constant that is the object argumentSWRLSameIndividualAtom getSWRLSameIndividualAtom(SWRLIArgument arg0, SWRLIArgument arg1)
arg0
- first individualarg1
- second individualSWRLDifferentIndividualsAtom getSWRLDifferentIndividualsAtom(SWRLIArgument arg0, SWRLIArgument arg1)
arg0
- first individualarg1
- second individualCopyright © 2017 The University of Manchester. All Rights Reserved.