com.clarkparsia.stardog.jena
Class StardogModelAssembler
java.lang.Object
com.hp.hpl.jena.assembler.assemblers.AssemblerBase
com.hp.hpl.jena.assembler.assemblers.ModelAssembler
com.clarkparsia.stardog.jena.StardogModelAssembler
- All Implemented Interfaces:
- Assembler
public class StardogModelAssembler
- extends com.hp.hpl.jena.assembler.assemblers.ModelAssembler
An assembler implementation to build a Stardog model from an assembler description in RDF. The assmebler description
provides the information about a Stardog connection that will be used to back the Jena model. The assembler
vocabulary mimics the functions in 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 profile: <http://www.w3.org/ns/owl-profile/> .
@prefix : <http://example.com/#> .
stardog:Database
ja:assembler "com.clarkparsia.stardog.jena.StardogModelAssembler" .
[] a stardog:Database ;
stardog:url <snarl://localhost:5820/> ;
stardog:name "myDB" ;
stardog:username "user" ;
stardog:password "pass" ;
stardog:reasoningType profile:QL .
The reasoning type is optional as in the ConnectionConfiguration. If omitted the connection will be a
plain Stardog connection without any reasoning. If exists, the reasoning type should be one of profile:DL,
profile:EL, profile:QL, or profile:RL.
- Author:
- Evren Sirin
| Fields inherited from interface com.hp.hpl.jena.assembler.Assembler |
content, defaultModel, documentManager, fileManager, fileModel, general, infModel, locationMapper, memoryModel, modelSource, ontModel, ontModelSpec, prefixMapping, reasonerFactory, ruleSet, unionModel |
| Methods inherited from class com.hp.hpl.jena.assembler.assemblers.ModelAssembler |
open, openModel |
| Methods inherited from class com.hp.hpl.jena.assembler.assemblers.AssemblerBase |
getOptionalClassName, getRequiredResource, open, open, openModel |
log
public static final Logger log
StardogModelAssembler
public StardogModelAssembler()
Copyright © 2010-2013 Clark & Parsia. All Rights Reserved.