SWRLFactory.java revision 2
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek/*
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek * Created on Apr 6, 2005
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek */
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekpackage org.mindswap.swrl;
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekimport java.net.URI;
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekimport org.mindswap.owl.OWLClass;
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekimport org.mindswap.owl.OWLDataProperty;
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekimport org.mindswap.owl.OWLIndividual;
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekimport org.mindswap.owl.OWLObjectProperty;
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekimport org.mindswap.owl.OWLOntology;
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekimport org.mindswap.owl.OWLValue;
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek/**
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek * @author Evren Sirin
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek *
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek */
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozekpublic interface SWRLFactory {
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek public OWLOntology getOntology();
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek public AtomList createList();
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek public AtomList createList(Atom atom);
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek public ClassAtom createClassAtom(OWLClass c, SWRLIndividualObject arg);
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek public ClassAtom createClassAtom(OWLClass c, OWLIndividual arg);
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek public ClassAtom createAtom(OWLClass c, OWLIndividual arg);
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek public IndividualPropertyAtom createIndividualPropertyAtom(OWLObjectProperty p, SWRLIndividualObject arg1, SWRLIndividualObject arg2);
27e89b6925334565c73c407a9ae2809358789c81Jakub Hrozek public IndividualPropertyAtom createIndividualPropertyAtom(OWLObjectProperty p, OWLIndividual arg1, OWLIndividual arg2);
05d935cc9d04f03522d0bb44598d22d99b085926Jakub Hrozek public IndividualPropertyAtom createAtom(OWLObjectProperty p, OWLIndividual arg1, OWLIndividual arg2);
05d935cc9d04f03522d0bb44598d22d99b085926Jakub Hrozek
05d935cc9d04f03522d0bb44598d22d99b085926Jakub Hrozek public DataPropertyAtom createDataPropertyAtom(OWLDataProperty p, SWRLIndividualObject arg1, SWRLDataObject arg2);
05d935cc9d04f03522d0bb44598d22d99b085926Jakub Hrozek public DataPropertyAtom createDataPropertyAtom(OWLDataProperty p, OWLIndividual arg1, OWLValue arg2);
05d935cc9d04f03522d0bb44598d22d99b085926Jakub Hrozek public DataPropertyAtom createAtom(OWLDataProperty p, OWLIndividual arg1, OWLValue arg2);
05d935cc9d04f03522d0bb44598d22d99b085926Jakub Hrozek
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public SameIndividualAtom createSameIndividualAtom(SWRLIndividualObject arg1, SWRLIndividualObject arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public SameIndividualAtom createSameIndividualAtom(OWLIndividual arg1, OWLIndividual arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public DifferentIndividualsAtom createDifferentIndividualsAtom(SWRLIndividualObject arg1, SWRLIndividualObject arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public DifferentIndividualsAtom createDifferentIndividualsAtom(OWLIndividual arg1, OWLIndividual arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createEqual(SWRLDataObject arg1, SWRLDataObject arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createNotEqual(SWRLDataObject arg1, SWRLDataObject arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createLessThan(SWRLDataObject arg1, SWRLDataObject arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createLessThanOrEqual(SWRLDataObject arg1, SWRLDataObject arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createGreaterThan(SWRLDataObject arg1, SWRLDataObject arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createGreaterThanOrEqual(SWRLDataObject arg1, SWRLDataObject arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createAdd(OWLValue result, OWLValue arg1, OWLValue arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createSubtract(OWLValue result, OWLValue arg1, OWLValue arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createMultiply(OWLValue result, OWLValue arg1, OWLValue arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public BuiltinAtom createDivide(OWLValue result, OWLValue arg1, OWLValue arg2);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public SWRLIndividualVariable createIndividualVariable(URI uri);
64ea4127f463798410a2c20e0261c6b15f60257fJakub Hrozek public SWRLDataVariable createDataVariable(URI uri);
05d935cc9d04f03522d0bb44598d22d99b085926Jakub Hrozek}
05d935cc9d04f03522d0bb44598d22d99b085926Jakub Hrozek