public interface TripleStoreInterface
| Modifier and Type | Interface and Description |
|---|---|
static class |
TripleStoreInterface.TransactionType |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction(TripleStoreInterface.TransactionType type) |
void |
connect(String dir) |
void |
disconnect() |
void |
endTransaction() |
HashMap<String,LinkedList<PropertyMapping>> |
getPropertyMappings(String query) |
HashMap<String,LinkedList<RelationMapping>> |
getRelationMappings(String query) |
Map<String,SubjectMapping> |
getSubjectMappings(String query)
Queries the triple store for mapping rules using the supplied SPARQL query string
and populates a map of <rulename,
SubjectMapping> objects. |
void |
initModel() |
String |
printDataset() |
void |
storeTriple(String docURL,
RelationMapping rMap,
String URIforAnnotation,
String rangeURI) |
void |
storeTriple(String docURL,
String corpusURI) |
void |
storeTriple(String docURL,
String annotationURI,
gate.FeatureMap feats,
String domainURI,
String rangeURI) |
void |
storeTriple(String docURL,
String URIforAnnotation,
String type,
HashMap<String,Object> exportProps,
HashMap<String,LinkedList<PropertyMapping>> propertyMapList) |
void connect(String dir)
void disconnect()
void initModel()
Map<String,SubjectMapping> getSubjectMappings(String query) throws Exception
SubjectMapping> objects.query - the SPARQL query stringSubjectMapping> objectsException - from the underlying triple store implementationHashMap<String,LinkedList<PropertyMapping>> getPropertyMappings(String query) throws Exception
ExceptionHashMap<String,LinkedList<RelationMapping>> getRelationMappings(String query) throws Exception
Exceptionvoid beginTransaction(TripleStoreInterface.TransactionType type)
void endTransaction()
void storeTriple(String docURL, String URIforAnnotation, String type, HashMap<String,Object> exportProps, HashMap<String,LinkedList<PropertyMapping>> propertyMapList)
void storeTriple(String docURL, RelationMapping rMap, String URIforAnnotation, String rangeURI)
void storeTriple(String docURL, String annotationURI, gate.FeatureMap feats, String domainURI, String rangeURI)
String printDataset()