sparqlGraphLibrary/src/main/java/com/ge/research/semtk/belmont/ValueConstraint.java
public static String buildBestListConstraint(Returnable item, ArrayList<String> valList, SparqlEndpointInterface sei) throws Exception {
		switch (sei.getServerType()) {
		case SparqlEndpointInterface.NEPTUNE_SERVER:
			return buildFilterInConstraint(item, valList, sei);
			
		case SparqlEndpointInterface.BLAZEGRAPH_SERVER:
		case SparqlEndpointInterface.FUSEKI_SERVER:
		case SparqlEndpointInterface.VIRTUOSO_SERVER:
		default:
			return buildValuesConstraint(item, valList, sei);
		}
	}
/**
	 * Return the most performant list-matching constraint.  Based on Jan 2021 Testing
	 * @param item
	 * @param valList
	 * @param sei
	 * @return
	 * @throws Exception
	 */
Return the most performant list-matching constraint.
Return the most performant list - matching constraint .
public static String buildBestListConstraint(Returnable item, ArrayList<String> valList, SparqlEndpointInterface sei) throws Exception {
		switch (sei.getServerType()) {
		case SparqlEndpointInterface.NEPTUNE_SERVER:
			return buildFilterInConstraint(item, valList, sei);
		case SparqlEndpointInterface.BLAZEGRAPH_SERVER:
		case SparqlEndpointInterface.FUSEKI_SERVER:
		case SparqlEndpointInterface.VIRTUOSO_SERVER:
		default:
			return buildValuesConstraint(item, valList, sei);
		}
	}
public static String buildBestListConstraint ( Returnable item , ArrayList < String > valList , SparqlEndpointInterface sei ) throws Exception { switch ( sei . getServerType ( ) ) { case SparqlEndpointInterface . NEPTUNE_SERVER : return buildFilterInConstraint ( item , valList , sei ) ; case SparqlEndpointInterface . BLAZEGRAPH_SERVER : case SparqlEndpointInterface . FUSEKI_SERVER : case SparqlEndpointInterface . VIRTUOSO_SERVER : default : return buildValuesConstraint ( item , valList , sei ) ; } }
Return the most performant list-matching constraint.
Return the most performant list - matching constraint .