framework/application/examples/src/main/java/org/ldp4j/example/BadDataResourceHandler.java
public DataSet getRepresentation() {
		return
			DataDSL.
				dataSet().
					individual(newReference().toLocalIndividual().named("anonymous")).
						hasLink(KNOWS).
							referringTo(newReference().toManagedIndividual("unknownTemplate1").named("r1")).
					individual(newReference().toLocalIndividual().named("anonymous")).
						hasProperty(CREATED_ON).
							withValue(new Date()).
						hasLink(KNOWS).
							referringTo(newReference().toManagedIndividual("unknownTemplate2").named("r1")).
					individual(newReference().toManagedIndividual("unknownTemplate2").named("r1")).
						hasProperty(CREATION_DATE).
							withValue(new Date()).
						hasProperty(AGE).
							withValue(34).
						hasLink(HAS_FATHER).
							toIndividual(newReference().toLocalIndividual().named("Michel")).
								hasLink(HAS_WIFE).
									referringTo(newReference().toLocalIndividual().named("Consuelo")).
					build();
	}
public DataSet getRepresentation() {
		return
			DataDSL.
				dataSet().
					individual(newReference().toLocalIndividual().named("anonymous")).
						hasLink(KNOWS).
							referringTo(newReference().toManagedIndividual("unknownTemplate1").named("r1")).
					individual(newReference().toLocalIndividual().named("anonymous")).
						hasProperty(CREATED_ON).
							withValue(new Date()).
						hasLink(KNOWS).
							referringTo(newReference().toManagedIndividual("unknownTemplate2").named("r1")).
					individual(newReference().toManagedIndividual("unknownTemplate2").named("r1")).
						hasProperty(CREATION_DATE).
							withValue(new Date()).
						hasProperty(AGE).
							withValue(34).
						hasLink(HAS_FATHER).
							toIndividual(newReference().toLocalIndividual().named("Michel")).
								hasLink(HAS_WIFE).
									referringTo(newReference().toLocalIndividual().named("Consuelo")).
					build();
	}
public DataSet getRepresentation ( ) { return DataDSL . dataSet ( ) . individual ( newReference ( ) . toLocalIndividual ( ) . named ( "anonymous" ) ) . hasLink ( KNOWS ) . referringTo ( newReference ( ) . toManagedIndividual ( "unknownTemplate1" ) . named ( "r1" ) ) . individual ( newReference ( ) . toLocalIndividual ( ) . named ( "anonymous" ) ) . hasProperty ( CREATED_ON ) . withValue ( new Date ( ) ) . hasLink ( KNOWS ) . referringTo ( newReference ( ) . toManagedIndividual ( "unknownTemplate2" ) . named ( "r1" ) ) . individual ( newReference ( ) . toManagedIndividual ( "unknownTemplate2" ) . named ( "r1" ) ) . hasProperty ( CREATION_DATE ) . withValue ( new Date ( ) ) . hasProperty ( AGE ) . withValue ( 34 ) . hasLink ( HAS_FATHER ) . toIndividual ( newReference ( ) . toLocalIndividual ( ) . named ( "Michel" ) ) . hasLink ( HAS_WIFE ) . referringTo ( newReference ( ) . toLocalIndividual ( ) . named ( "Consuelo" ) ) . build ( ) ; }
Get custom representation with bad data

@return the representation
Get custom representation with bad data