public class RepositoryModelFactory extends AbstractModelFactory
REASONING, STORAGE, STORAGE_VALUE_MEMORY| Constructor and Description |
|---|
RepositoryModelFactory() |
| Modifier and Type | Method and Description |
|---|---|
Model |
createModel(Properties properties)
Create a Model configured by the given properties.
|
Model |
createModel(URI contextURI)
Create a default in-memory ModelSet with no inferencing and the given
context URI.
|
ModelSet |
createModelSet(Properties properties)
Create a ModelSet configured by the given properties.
|
QueryResultTable |
sparqlSelect(String endpointURL,
String sparqlQuery) |
createModel, createModel, createModelSet, createModelSet, getReasoningpublic Model createModel(Properties properties) throws ModelRuntimeException
ModelFactoryproperties - configures the to-be-created ModelModelRuntimeException - if the adapter could not create the ModelReasoningNotSupportedException - if the passed kind of reasoning is
not supported.public Model createModel(URI contextURI) throws ModelRuntimeException
ModelFactoryModelRuntimeException - if the adapter could not create the modelpublic ModelSet createModelSet(Properties properties) throws ModelRuntimeException
ModelFactoryModelRuntimeException - if the adapter could not create the ModelReasoningNotSupportedException - if the passed kind of reasoning is
not supported.public QueryResultTable sparqlSelect(String endpointURL, String sparqlQuery)
endpointURL - SPARQL endpoint URL, never nullsparqlQuery - SPARQL query, never nullCopyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.