public class StardogModelAssembler extends ModelAssembler
ConnectionConfiguration to specify the details about the connection. An
example assembler description looks like as follows:
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix stardog: <http://stardog.com/#> .
@prefix : <http://example.com/#> .
stardog:Database
ja:assembler "com.complexible.stardog.jena.StardogModelAssembler" .
[] a stardog:Database ;
stardog:url <http://localhost:5820/> ;
stardog:name "myDB" ;
stardog:username "user" ;
stardog:password "pass" ;
stardog:reasoning true .
The reasoning flag is optional in the ConnectionConfiguration. If omitted the connection will be a
plain Stardog connection without any reasoning.
| Modifier and Type | Class and Description |
|---|---|
static class |
StardogModelAssembler.Vocabulary
Stardog assembler vocabulary.
|
content, defaultModel, documentManager, fileManager, general, infModel, locationMapper, memoryModel, modelSource, ontModel, ontModelSpec, prefixMapping, reasonerFactory, ruleSet, unionModel| Constructor and Description |
|---|
StardogModelAssembler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addContent(Resource root,
Model m,
Content c) |
protected Model |
openEmptyModel(Assembler a,
Resource root,
Mode mode) |
getContent, getInitialContent, open, openModel, openModelcheckType, getOptionalClassName, getRequiredLiteral, getRequiredResource, getResource, getString, getUnique, getUniqueLiteral, getUniqueResource, getUniqueStatement, getUniqueString, loadClass, open, open, openModelprotected Model openEmptyModel(Assembler a, Resource root, Mode mode)
openEmptyModel in class ModelAssemblerprotected void addContent(Resource root, Model m, Content c)
addContent in class ModelAssemblerCopyright © 2010-2016 Stardog Union. All Rights Reserved.