Literal lit1 = ResourceFactory.createPlainLiteral("doc") ;
// ---- Index based on some external content. Teh content can be any string of words.
larqBuilder.index(r1, new StringReader("document")) ; // Just to show a Stringreader is possible
larqBuilder.index(r2, "document") ;
larqBuilder.index(r3, "slideshow") ;
larqBuilder.index(r4, "codebase") ;
larqBuilder.index(lit1, "document") ;
// Note that the model is untouched - the index exists outside of any model statements.