OpenNlp/src/main/java/stanford/related/extraction/Triple.java
public Triple inversion() {
		if (predicate.equals(BROADER))
			return new Triple(object, subject, NARROWER);
		if (predicate.equals(NARROWER))
			return new Triple(object, subject, BROADER);
		return new Triple(object, subject, RELATED);
	}
/**
	 * Inverts a triple, turning a skos:narrower into a skos:broader.
	 * 
	 * @return a new inverted triple
	 */
Inverts a triple, turning a skos:narrower into a skos:broader.

@return a new inverted triple
Inverts a triple turning a skos : narrower into a skos : broader . @return a new inverted triple
public Triple inversion() {
		if (predicate.equals(BROADER))
			return new Triple(object, subject, NARROWER);
		if (predicate.equals(NARROWER))
			return new Triple(object, subject, BROADER);
		return new Triple(object, subject, RELATED);
	}
public Triple inversion ( ) { if ( predicate . equals ( BROADER ) ) return new Triple ( object , subject , NARROWER ) ; if ( predicate . equals ( NARROWER ) ) return new Triple ( object , subject , BROADER ) ; return new Triple ( object , subject , RELATED ) ; }
Inverts a triple, turning a skos:narrower into a skos:broader.
Inverts a triple turning a skos : narrower into a skos : broader .