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(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.
|
@Nonnull SWRLRule getSWRLRule(@Nonnull Set<? extends SWRLAtom> body, @Nonnull Set<? extends SWRLAtom> head)
body - The atoms that make up the bodyhead - The atoms that make up the head@Nonnull SWRLRule getSWRLRule(@Nonnull Set<? extends SWRLAtom> body, @Nonnull Set<? extends SWRLAtom> head, @Nonnull 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)@Nonnull SWRLClassAtom getSWRLClassAtom(@Nonnull OWLClassExpression predicate, @Nonnull SWRLIArgument arg)
predicate - The class expression that represents the predicate of the atomarg - The argument (x)@Nonnull SWRLDataRangeAtom getSWRLDataRangeAtom(@Nonnull OWLDataRange predicate, @Nonnull SWRLDArgument arg)
predicate - The data range that represents the predicate of the atomarg - The argument (x)@Nonnull SWRLObjectPropertyAtom getSWRLObjectPropertyAtom(@Nonnull OWLObjectPropertyExpression property, @Nonnull SWRLIArgument arg0, @Nonnull SWRLIArgument arg1)
property - The property (P) representing the atom predicatearg0 - The first argument (x)arg1 - The second argument (y)@Nonnull SWRLDataPropertyAtom getSWRLDataPropertyAtom(@Nonnull OWLDataPropertyExpression property, @Nonnull SWRLIArgument arg0, @Nonnull SWRLDArgument arg1)
property - The property (P) that represents the atom predicatearg0 - The first argument (x)arg1 - The second argument (y)@Nonnull SWRLBuiltInAtom getSWRLBuiltInAtom(@Nonnull IRI builtInIRI, @Nonnull List<SWRLDArgument> args)
SWRLBuiltInsVocabulary.builtInIRI - The builtin predicate IRIargs - A non-empty set of SWRL Arguments.IllegalArgumentException - if the list of arguments is empty@Nonnull SWRLVariable getSWRLVariable(@Nonnull IRI var)
var - The id (IRI) of the variable@Nonnull SWRLIndividualArgument getSWRLIndividualArgument(@Nonnull OWLIndividual individual)
individual - The individual that is the object argument@Nonnull SWRLLiteralArgument getSWRLLiteralArgument(@Nonnull OWLLiteral literal)
literal - The constant that is the object argument@Nonnull SWRLSameIndividualAtom getSWRLSameIndividualAtom(@Nonnull SWRLIArgument arg0, @Nonnull SWRLIArgument arg1)
arg0 - first individualarg1 - second individual@Nonnull SWRLDifferentIndividualsAtom getSWRLDifferentIndividualsAtom(@Nonnull SWRLIArgument arg0, @Nonnull SWRLIArgument arg1)
arg0 - first individualarg1 - second individualCopyright © 2016 The University of Manchester. All Rights Reserved.