For now, I'm successfully building a plain model, reading a set of .ttl files into it, creating a TDB database and using it with Fuseki.
I'd like to try using an OntModel or InfModel to start getting some additional entailments in the data.
My current code is like:
Dataset ds = TDBFactory.createDataset( newLocation ) ; // a string
Model model = ds.getDefaultModel() ;
RDFReader rdfRdr = model.getReader( "TTL" );
for ( String fn : files )
{
InputStream dataStream = new FileInputStream( fn );
rdfRdr.read( model, dataStream, "" );
dataStream.close();
}
// Close the dataset.
ds.close();
What should I do to get a more powerful model?
Thanks.
Dave Patterson