Revision 8767
Added by ben leinfelder over 10 years ago
src/edu/ucsb/nceas/metacat/annotation/DatapackageSummarizer.java | ||
---|---|---|
86 | 86 |
|
87 | 87 |
// load to triple store |
88 | 88 |
//Dataset dataset = TDBFactory.createDataset("./tbd"); |
89 |
Dataset dataset = DatasetFactory.createMem(); |
|
89 |
Dataset dataset = TDBFactory.createDataset(); |
|
90 |
//Dataset dataset = DatasetFactory.createMem(); |
|
90 | 91 |
|
91 | 92 |
// read the annotation into the triplestore |
92 | 93 |
InputStream source = IOUtils.toInputStream(rdfContent, "UTF-8"); |
Also available in: Unified diff
use in-memory TDB dataset for querying annotations for indexing -- this comes with the same reasoning capabilities as the directory-based one, but has the benefit of not filling the directory with triples that will not be used again. prepping for d1 AHM