sparqlGraphLibrary/src/main/java/com/ge/research/semtk/belmont/ValueConstraint.java
public static String buildValuesConstraint(String sparqlId, ArrayList<String> valList) throws Exception{
		
		sparqlId = BelmontUtil.legalizeSparqlID(sparqlId);
		
		// VALUES ?trNum { '1278'^^<http://www.w3.org/2001/XMLSchema#int> '1279'^^<http://www.w3.org/2001/XMLSchema#int> } 
	
		StringBuffer retval = new StringBuffer();
		retval.append("VALUES " + sparqlId + " { ");
		for(String v : valList){
			retval.append(v + " ");
		}
		
		retval.append(" }");
		
		return retval.toString();
	}
/**
	 * This version takes all values at face value: no typing is done
	 * @param sparqlId
	 * @param valList
	 * @return
	 * @throws Exception
	 */
This version takes all values at face value: no typing is done
@param sparqlId
@param valList
@return
@throws Exception
This version takes all values at face value : no typing is done @param sparqlId @param valList @return @throws Exception
public static String buildValuesConstraint(String sparqlId, ArrayList<String> valList) throws Exception{
		sparqlId = BelmontUtil.legalizeSparqlID(sparqlId);
		StringBuffer retval = new StringBuffer();
		retval.append("VALUES " + sparqlId + " { ");
		for(String v : valList){
			retval.append(v + " ");
		}
		retval.append(" }");
		return retval.toString();
	}
public static String buildValuesConstraint ( String sparqlId , ArrayList < String > valList ) throws Exception { sparqlId = BelmontUtil . legalizeSparqlID ( sparqlId ) ; StringBuffer retval = new StringBuffer ( ) ; retval . append ( "VALUES " + sparqlId + " { " ) ; for ( String v : valList ) { retval . append ( v + " " ) ; } retval . append ( " }" ) ; return retval . toString ( ) ; }
This version takes all values at face value: no typing is done
 @param sparqlId
 @param valList
 @return
 @throws Exception
This version takes all values at face value : no typing is done @param sparqlId @param valList @return @throws Exception
// VALUES ?trNum { '1278'^^<http://www.w3.org/2001/XMLSchema#int> '1279'^^<http://www.w3.org/2001/XMLSchema#int> } 