public class PersistenceService extends Object
| Constructor and Description |
|---|
PersistenceService(org.openrdf.repository.object.ObjectRepository objectRepository)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
persistAnnotation(Annotation annotation)
Writes the annotation to the configured SPARQL endpoint with a corresponding INSERT query.
|
public PersistenceService(org.openrdf.repository.object.ObjectRepository objectRepository)
objectRepository - Local/Remote SPARQL endpoint connectionpublic void persistAnnotation(Annotation annotation) throws org.openrdf.repository.RepositoryException
annotation - annotation to write to the SPARQL endpointorg.openrdf.repository.RepositoryExceptionCopyright © 2015 Chair of Distributed Information Systems - University of Passau. All rights reserved.