sparqlGraphLibrary/src/main/java/com/ge/research/semtk/belmont/NodeGroup.java
public void addUniqueInstanceConstraint(Node n) throws Exception {
		ArrayList<Node> nodeList = this.getNodesByURI(n.getFullUriName());
		for (Node other : nodeList) {
			if (other != n) {
				String vc = ValueConstraint.buildFilterConstraintWithVariable(n, "!=", other.getSparqlID());
				n.addValueConstraint(vc);
			}
		}
	}
/**
	 * Add a constraint such that this node is a unique instance 
	 * from other nodes with the same URI
	 * @param n
	 * @throws Exception
	 */
Add a constraint such that this node is a unique instance
from other nodes with the same URI
@param n
@throws Exception
Add a constraint such that this node is a unique instance from other nodes with the same URI @param n @throws Exception
public void addUniqueInstanceConstraint(Node n) throws Exception {
		ArrayList<Node> nodeList = this.getNodesByURI(n.getFullUriName());
		for (Node other : nodeList) {
			if (other != n) {
				String vc = ValueConstraint.buildFilterConstraintWithVariable(n, "!=", other.getSparqlID());
				n.addValueConstraint(vc);
			}
		}
	}
public void addUniqueInstanceConstraint ( Node n ) throws Exception { ArrayList < Node > nodeList = this . getNodesByURI ( n . getFullUriName ( ) ) ; for ( Node other : nodeList ) { if ( other != n ) { String vc = ValueConstraint . buildFilterConstraintWithVariable ( n , "!=" , other . getSparqlID ( ) ) ; n . addValueConstraint ( vc ) ; } } }
Add a constraint such that this node is a unique instance
 from other nodes with the same URI
 @param n
 @throws Exception
Add a constraint such that this node is a unique instance from other nodes with the same URI @param n @throws Exception