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, getReasoning
public Model createModel(Properties properties) throws ModelRuntimeException
ModelFactory
properties
- 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
ModelFactory
ModelRuntimeException
- if the adapter could not create the modelpublic ModelSet createModelSet(Properties properties) throws ModelRuntimeException
ModelFactory
ModelRuntimeException
- 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–2018 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.