Examples of SWRLBuiltInAtom


Examples of org.semanticweb.owlapi.model.SWRLBuiltInAtom

        List<SWRLDArgument> swrldArguments = new ArrayList<SWRLDArgument>();
        swrldArguments.add(swrldArgument1);
        swrldArguments.add(swrldArgument2);
        swrldArguments.add(swrldArgument3);

        SWRLBuiltInAtom swrlBuiltInAtom = factory.getSWRLBuiltInAtom(SWRLBuiltInsVocabulary.ADD.getIRI(),
            swrldArguments);

        listOfArguments.add(swrlBuiltInAtom);

        return (T) new HigherOrderSWRLAtom(swrldArgument1, listOfArguments);
View Full Code Here

Examples of org.semanticweb.owlapi.model.SWRLBuiltInAtom

            return true;
        }
        if (!(obj instanceof SWRLBuiltInAtom)) {
            return false;
        }
        SWRLBuiltInAtom other = (SWRLBuiltInAtom) obj;
        return other.getPredicate().equals(getPredicate()) && other.getArguments().equals(getArguments());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.SWRLBuiltInAtom

    }


    @Override
  protected int compareObjectOfSameType(OWLObject object) {
        SWRLBuiltInAtom other = (SWRLBuiltInAtom) object;
        int diff = getPredicate().compareTo(other.getPredicate());
        if (diff != 0) {
            return diff;
        }
        List<SWRLDArgument> otherArgs = other.getArguments();
        int i = 0;
        while (i < args.size() && i < otherArgs.size()) {
            diff = args.get(i).compareTo(otherArgs.get(i));
            if (diff != 0) {
                return diff;
View Full Code Here

Examples of org.semanticweb.owlapi.model.SWRLBuiltInAtom

    }
   
    swrldArguments.add(swrldArgument1);
    swrldArguments.add(swrldArgument2);
   
    SWRLBuiltInAtom swrlBuiltInAtom = factory.getSWRLBuiltInAtom(SWRLBuiltInsVocabulary.GREATER_THAN.getIRI(), swrldArguments);
    return swrlBuiltInAtom;
  }
View Full Code Here

Examples of org.semanticweb.owlapi.model.SWRLBuiltInAtom

    }
   
    swrldArguments.add(swrldArgument1);
    swrldArguments.add(swrldArgument2);
   
    SWRLBuiltInAtom swrlBuiltInAtom = factory.getSWRLBuiltInAtom(SWRLBuiltInsVocabulary.LESS_THAN.getIRI(), swrldArguments);
    return swrlBuiltInAtom;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.