public static boolean isSchemaTriple(Statement triple){
  URI pred=triple.getPredicate();
  if (schemaPredicates.contains(pred)) {
    return true;
  }
 else   if (pred.equals(RDF.TYPE)) {
    if (schemaTypes.contains(triple.getObject())) {
      return true;
    }
  }
  return false;
}

public static boolean isSchemaTriple ( Statement triple ) { URI pred = triple . getPredicate ( ) ; if ( schemaPredicates . contains ( pred ) ) { return true ; } else if ( pred . equals ( RDF . TYPE ) ) { if ( schemaTypes . contains ( triple . getObject ( ) ) ) { return true ; } } return false ; }
does this triple / statement encode potentially relevant schema information ?
