} catch (IllegalArgumentException e) {
logger.error("Invalid URI definition for " + resourceClass.getCanonicalName() + ", so resources of this class will be blank nodes: " + e);
}
//rdf:type
resource.setRdfType(classResource.rdftype());
//properties on fields
for (Field field : resourceClass.getDeclaredFields()) {
AnnotatedElement annotatedElement = (AnnotatedElement) field;
RdfProperty propertyResource = annotatedElement.getAnnotation(RdfProperty.class);