public static Aggregation createAggregation(Resource resource) { AggregationJena aggregation = new AggregationJena(); aggregation.setResource(resource); return aggregation; }