public interface KnowledgeSource extends Source<KnowledgeSourceUpdatedEvent,KnowledgeSourceBackend,KnowledgeSourceBackendUpdatedEvent>
addSourceListener, clear, close, getBackends, removeSourceListener, setEventListenersbackendUpdated, unrecoverableErrorOccurredList<String> getPropositionDefinitionsByTerm(And<TermSubsumption> termSubsumptionClause) throws KnowledgeSourceReadException
Map of Strings to a List of
Strings, with the keys being Term IDs and the values
being lists of PropositionDefinition IDs.KnowledgeSourceReadExceptionboolean hasAbstractionDefinition(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionboolean hasPropositionDefinition(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionboolean hasTemporalPropositionDefinition(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionboolean hasContextDefinition(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionboolean hasValueSet(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionSet<PropositionDefinition> collectPropDefDescendantsUsingAllNarrower(boolean inDataSourceOnly, String... propIds) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionSet<String> collectPropIdDescendantsUsingAllNarrower(boolean inDataSourceOnly, String... propIds) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionSet<PropositionDefinition> collectPropDefDescendantsUsingInverseIsA(String... propIds) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionSet<String> collectPropIdDescendantsUsingInverseIsA(String... propIds) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readAbstractedFrom(AbstractionDefinition propDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readAbstractedFrom(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<AbstractionDefinition> readAbstractedInto(PropositionDefinition propDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<AbstractionDefinition> readAbstractedInto(String propId) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionAbstractionDefinition readAbstractionDefinition(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionContextDefinition readContextDefinition(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readInverseIsA(PropositionDefinition propDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readInverseIsA(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readIsA(PropositionDefinition propDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readIsA(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<ContextDefinition> readSubContexts(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<ContextDefinition> readSubContexts(ContextDefinition contextDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<ContextDefinition> readSubContextOfs(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<ContextDefinition> readSubContextOfs(ContextDefinition contextDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<ContextDefinition> readInduces(String tempPropDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<ContextDefinition> readInduces(TemporalPropositionDefinition tempPropDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<TemporalPropositionDefinition> readInducedBy(String contextId) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<TemporalPropositionDefinition> readInducedBy(ContextDefinition contextDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionPropositionDefinition readPropositionDefinition(String id) throws KnowledgeSourceReadException
id - a proposition id String. Cannot be null.PropositionDefinition, or null if none was
found with the given id.KnowledgeSourceReadException - if an error occurred reading from
the knowledge base.TemporalPropositionDefinition readTemporalPropositionDefinition(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionValueSet readValueSet(String id) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readParents(PropositionDefinition propDef) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readParents(String propId) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> getMatchingPropositionDefinitions(String searchKey) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<PropositionDefinition> readPropositionDefinitions(String... propIds) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<AbstractionDefinition> readAbstractionDefinitions(String... propIds) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<TemporalPropositionDefinition> readTemporalPropositionDefinitions(String... propIds) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionList<ContextDefinition> readContextDefinitions(String... propIds) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionCopyright © 2012–2017 Emory University. All rights reserved.