org.vivoweb.harvester.qualify
Class Qualify

java.lang.Object
  extended by org.vivoweb.harvester.qualify.Qualify

public class Qualify
extends java.lang.Object

Qualify data using SPARQL queries

Author:
Christopher Haines (hainesc@ctrip.ufl.edu), Nicholas Skaggs (nskaggs@ctrip.ufl.edu)

Constructor Summary
Qualify(ArgList argList)
          Constructor
Qualify(JenaConnect jenaModel, java.lang.String dataType, java.lang.String matchString, java.lang.String newValue, boolean isRegex, java.lang.String removeNameSpace, boolean cleanPredicates, boolean cleanResources)
          Constructor
Qualify(java.lang.String[] args)
          Constructor
 
Method Summary
 void execute()
          Executes the task
static void main(java.lang.String... args)
          Main method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Qualify

public Qualify(JenaConnect jenaModel,
               java.lang.String dataType,
               java.lang.String matchString,
               java.lang.String newValue,
               boolean isRegex,
               java.lang.String removeNameSpace,
               boolean cleanPredicates,
               boolean cleanResources)
Constructor

Parameters:
jenaModel - the JENA model to run qualifications on
dataType - the data predicate
matchString - the string to match
newValue - the value to replace it with
isRegex - is this to use Regex to match the string
removeNameSpace - remove statements with predicates in this namespace
cleanPredicates - remove all statements where the predicate is from the given namespace
cleanResources - remove all statements where the subject or object is from the given namespace

Qualify

public Qualify(java.lang.String[] args)
        throws java.io.IOException
Constructor

Parameters:
args - commandline arguments
Throws:
java.io.IOException - error creating task

Qualify

public Qualify(ArgList argList)
        throws java.io.IOException
Constructor

Parameters:
argList - parsed argument list
Throws:
java.io.IOException - error creating task
Method Detail

execute

public void execute()
Executes the task


main

public static void main(java.lang.String... args)
Main method

Parameters:
args - commandline arguments