public class TDBTripleStoreImpl extends Object implements TripleStoreInterface
TripleStoreInterface.TransactionType| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOGGER |
| Constructor and Description |
|---|
TDBTripleStoreImpl() |
| 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)
Generates a map of <rulename,SubjectMapping> objects from the query
results.
|
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) |
public void connect(String dir)
connect in interface TripleStoreInterfacepublic void disconnect()
disconnect in interface TripleStoreInterfacepublic void beginTransaction(TripleStoreInterface.TransactionType type)
beginTransaction in interface TripleStoreInterfacepublic void endTransaction()
endTransaction in interface TripleStoreInterfacepublic Map<String,SubjectMapping> getSubjectMappings(String query) throws Exception
getSubjectMappings in interface TripleStoreInterfacequery - the SPARQL queryException - from the TDB implementationLODexporter.init()public HashMap<String,LinkedList<PropertyMapping>> getPropertyMappings(String query) throws Exception
getPropertyMappings in interface TripleStoreInterfaceExceptionpublic HashMap<String,LinkedList<RelationMapping>> getRelationMappings(String query) throws Exception
getRelationMappings in interface TripleStoreInterfaceExceptionpublic void initModel()
initModel in interface TripleStoreInterfacepublic void storeTriple(String docURL, String URIforAnnotation, String type, HashMap<String,Object> exportProps, HashMap<String,LinkedList<PropertyMapping>> propertyMapList)
storeTriple in interface TripleStoreInterfacepublic void storeTriple(String docURL, RelationMapping rMap, String URIforAnnotation, String rangeURI)
storeTriple in interface TripleStoreInterfacepublic void storeTriple(String docURL, String annotationURI, gate.FeatureMap feats, String domainURI, String rangeURI)
storeTriple in interface TripleStoreInterfacepublic void storeTriple(String docURL, String corpusURI)
storeTriple in interface TripleStoreInterfacepublic final String printDataset()
printDataset in interface TripleStoreInterface