Protégé-OWL 3.4.1

edu.stanford.smi.protegex.owl.swrl.bridge.builtins.sqwrl
Class SWRLBuiltInLibraryImpl

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
      extended by edu.stanford.smi.protegex.owl.swrl.bridge.builtins.sqwrl.SWRLBuiltInLibraryImpl
All Implemented Interfaces:
SWRLBuiltInLibrary

public class SWRLBuiltInLibraryImpl
extends AbstractSWRLBuiltInLibrary

Implementation library for SQWRL query built-ins. See here for documentation on this built-in library.


Constructor Summary
SWRLBuiltInLibraryImpl()
           
 
Method Summary
 boolean avg(List<BuiltInArgument> arguments)
           
 boolean columnNames(List<BuiltInArgument> arguments)
           
 boolean contains(List<BuiltInArgument> arguments)
           
 boolean count(List<BuiltInArgument> arguments)
           
 boolean countDistinct(List<BuiltInArgument> arguments)
           
 boolean difference(List<BuiltInArgument> arguments)
           
 boolean greatest(List<BuiltInArgument> arguments)
           
 boolean greatestN(List<BuiltInArgument> arguments)
           
 boolean intersection(List<BuiltInArgument> arguments)
           
 boolean isEmpty(List<BuiltInArgument> arguments)
           
 boolean least(List<BuiltInArgument> arguments)
           
 boolean leastN(List<BuiltInArgument> arguments)
           
 boolean makeSet(List<BuiltInArgument> arguments)
           
 boolean max(List<BuiltInArgument> arguments)
           
 boolean median(List<BuiltInArgument> arguments)
           
 boolean min(List<BuiltInArgument> arguments)
           
 boolean notContains(List<BuiltInArgument> arguments)
           
 boolean notEmpty(List<BuiltInArgument> arguments)
           
 boolean notGreatestN(List<BuiltInArgument> arguments)
           
 boolean orderBy(List<BuiltInArgument> arguments)
           
 boolean orderByDescending(List<BuiltInArgument> arguments)
           
 void reset()
           
 boolean select(List<BuiltInArgument> arguments)
           
 boolean selectDistinct(List<BuiltInArgument> arguments)
           
 boolean size(List<BuiltInArgument> arguments)
           
 boolean sum(List<BuiltInArgument> arguments)
           
 boolean union(List<BuiltInArgument> arguments)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
getInvokingBridge, getInvokingBuiltInIndex, getInvokingRuleName, getIsInConsequent, getLibraryName, invokeBuiltInMethod, invokeResetMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWRLBuiltInLibraryImpl

public SWRLBuiltInLibraryImpl()
Method Detail

reset

public void reset()
Specified by:
reset in interface SWRLBuiltInLibrary
Specified by:
reset in class AbstractSWRLBuiltInLibrary

select

public boolean select(List<BuiltInArgument> arguments)
               throws BuiltInException
Throws:
BuiltInException

selectDistinct

public boolean selectDistinct(List<BuiltInArgument> arguments)
                       throws BuiltInException
Throws:
BuiltInException

count

public boolean count(List<BuiltInArgument> arguments)
              throws BuiltInException
Throws:
BuiltInException

countDistinct

public boolean countDistinct(List<BuiltInArgument> arguments)
                      throws BuiltInException
Throws:
BuiltInException

columnNames

public boolean columnNames(List<BuiltInArgument> arguments)
                    throws BuiltInException
Throws:
BuiltInException

orderBy

public boolean orderBy(List<BuiltInArgument> arguments)
                throws BuiltInException
Throws:
BuiltInException

orderByDescending

public boolean orderByDescending(List<BuiltInArgument> arguments)
                          throws BuiltInException
Throws:
BuiltInException

makeSet

public boolean makeSet(List<BuiltInArgument> arguments)
                throws BuiltInException
Throws:
BuiltInException

isEmpty

public boolean isEmpty(List<BuiltInArgument> arguments)
                throws BuiltInException
Throws:
BuiltInException

notEmpty

public boolean notEmpty(List<BuiltInArgument> arguments)
                 throws BuiltInException
Throws:
BuiltInException

size

public boolean size(List<BuiltInArgument> arguments)
             throws BuiltInException
Throws:
BuiltInException

min

public boolean min(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

max

public boolean max(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

sum

public boolean sum(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

avg

public boolean avg(List<BuiltInArgument> arguments)
            throws BuiltInException
Throws:
BuiltInException

median

public boolean median(List<BuiltInArgument> arguments)
               throws BuiltInException
Throws:
BuiltInException

intersection

public boolean intersection(List<BuiltInArgument> arguments)
                     throws BuiltInException
Throws:
BuiltInException

union

public boolean union(List<BuiltInArgument> arguments)
              throws BuiltInException
Throws:
BuiltInException

difference

public boolean difference(List<BuiltInArgument> arguments)
                   throws BuiltInException
Throws:
BuiltInException

contains

public boolean contains(List<BuiltInArgument> arguments)
                 throws BuiltInException
Throws:
BuiltInException

notContains

public boolean notContains(List<BuiltInArgument> arguments)
                    throws BuiltInException
Throws:
BuiltInException

greatest

public boolean greatest(List<BuiltInArgument> arguments)
                 throws BuiltInException
Throws:
BuiltInException

greatestN

public boolean greatestN(List<BuiltInArgument> arguments)
                  throws BuiltInException
Throws:
BuiltInException

notGreatestN

public boolean notGreatestN(List<BuiltInArgument> arguments)
                     throws BuiltInException
Throws:
BuiltInException

leastN

public boolean leastN(List<BuiltInArgument> arguments)
               throws BuiltInException
Throws:
BuiltInException

least

public boolean least(List<BuiltInArgument> arguments)
              throws BuiltInException
Throws:
BuiltInException

Protégé-OWL 3.4.1

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.