public class PubChemVocabulary extends BigdataCoreVocabulary_v20151210
Vocabulary
covering the PubChem data from https://pubchem.ncbi.nlm.nih.gov/rdf/
.
Use the vocabulary by adding a property to your journal file per below.
com.bigdata.rdf.store.AbstractTripleStore.vocabularyClass=com.blazegraph.vocab.pubchem.PubChemVocabulary
BaseVocabulary.VocabularyVersioningException
Constructor and Description |
---|
PubChemVocabulary()
De-serialization ctor.
|
PubChemVocabulary(String namespace)
Used by
AbstractTripleStore.create() . |
Modifier and Type | Method and Description |
---|---|
protected void |
addValues()
Hook for subclasses to provide their
VocabularyDecl s using
BaseVocabulary.addDecl(VocabularyDecl) . |
addDecl, asValue, get, getConstant, getNamespace, init, readExternal, size, values, writeExternal
public PubChemVocabulary()
public PubChemVocabulary(String namespace)
AbstractTripleStore.create()
.namespace
- The namespace of the KB instance.protected void addValues()
BaseVocabulary
VocabularyDecl
s using
BaseVocabulary.addDecl(VocabularyDecl)
.addValues
in class BigdataCoreVocabulary_v20151210
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.