| Package | Description |
|---|---|
| org.protempa | |
| org.protempa.backend.dsb | |
| org.protempa.backend.ksb | |
| org.protempa.dest.table |
| Modifier and Type | Method and Description |
|---|---|
void |
DataSourceBackend.validateConfiguration(KnowledgeSource knowledgeSource) |
DataValidationEvent[] |
DataSourceBackend.validateData(KnowledgeSource knowledgeSource) |
| Modifier and Type | Method and Description |
|---|---|
Collection<PropositionDefinition> |
KnowledgeSourceBackend.collectPropDefDescendantsUsingAllNarrower(boolean inDataSourceOnly,
String[] propIds) |
Collection<PropositionDefinition> |
KnowledgeSourceBackend.collectPropDefDescendantsUsingInverseIsA(String[] propIds) |
Collection<String> |
KnowledgeSourceBackend.collectPropIdDescendantsUsingAllNarrower(boolean inDataSourceOnly,
String[] propIds) |
Collection<String> |
KnowledgeSourceBackend.collectPropIdDescendantsUsingInverseIsA(String[] propIds) |
Set<String> |
SimpleKnowledgeSourceBackend.getKnowledgeSourceSearchResults(String searchKey) |
Set<String> |
KnowledgeSourceBackend.getKnowledgeSourceSearchResults(String searchKey) |
String[] |
KnowledgeSourceBackend.getPropositionsByTerm(String termId)
Gets the proposition definitions for a given term.
|
String[] |
AbstractKnowledgeSourceBackend.getPropositionsByTerm(String termId)
A default implementation that returns an empty list.
|
List<String> |
KnowledgeSourceBackend.getPropositionsByTermSubsumption(And<TermSubsumption> termSubsumptions)
Gets the proposition definitions that are associated with the given AND
clause of term subsumptions.
|
List<String> |
AbstractKnowledgeSourceBackend.getPropositionsByTermSubsumption(And<TermSubsumption> termId)
A default implementation that returns an empty List.
|
String[] |
KnowledgeSourceBackend.readAbstractedInto(String propId) |
AbstractionDefinition |
SimpleKnowledgeSourceBackend.readAbstractionDefinition(String id) |
AbstractionDefinition |
KnowledgeSourceBackend.readAbstractionDefinition(String id) |
List<AbstractionDefinition> |
SimpleKnowledgeSourceBackend.readAbstractionDefinitions(String[] ids) |
List<AbstractionDefinition> |
KnowledgeSourceBackend.readAbstractionDefinitions(String[] ids) |
ContextDefinition |
SimpleKnowledgeSourceBackend.readContextDefinition(String id) |
ContextDefinition |
KnowledgeSourceBackend.readContextDefinition(String id) |
List<ContextDefinition> |
SimpleKnowledgeSourceBackend.readContextDefinitions(String[] ids) |
List<ContextDefinition> |
KnowledgeSourceBackend.readContextDefinitions(String[] toArray) |
String[] |
SimpleKnowledgeSourceBackend.readInduces(String propId) |
String[] |
KnowledgeSourceBackend.readInduces(String propId) |
String[] |
KnowledgeSourceBackend.readIsA(String propId) |
PropositionDefinition |
SimpleKnowledgeSourceBackend.readPropositionDefinition(String id) |
PropositionDefinition |
KnowledgeSourceBackend.readPropositionDefinition(String id)
Reads a proposition definition into the given PROTEMPA knowledge base.
|
List<PropositionDefinition> |
SimpleKnowledgeSourceBackend.readPropositionDefinitions(String[] ids) |
List<PropositionDefinition> |
KnowledgeSourceBackend.readPropositionDefinitions(String[] ids) |
String[] |
SimpleKnowledgeSourceBackend.readSubContextOfs(String propId) |
String[] |
KnowledgeSourceBackend.readSubContextOfs(String propId) |
TemporalPropositionDefinition |
SimpleKnowledgeSourceBackend.readTemporalPropositionDefinition(String id) |
TemporalPropositionDefinition |
KnowledgeSourceBackend.readTemporalPropositionDefinition(String id) |
List<TemporalPropositionDefinition> |
SimpleKnowledgeSourceBackend.readTemporalPropositionDefinitions(String[] ids) |
List<TemporalPropositionDefinition> |
KnowledgeSourceBackend.readTemporalPropositionDefinitions(String[] toArray) |
ValueSet |
KnowledgeSourceBackend.readValueSet(String id)
Reads the value set from the knowledge base and returns it.
|
ValueSet |
AbstractKnowledgeSourceBackend.readValueSet(String id)
A default implementation that returns
null. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
TableColumnSpec.columnNames(KnowledgeSource knowledgeSource)
Gets the names of the columns representing one instance of a
proposition or property.
|
String[] |
PropositionValueColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
PropositionColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
DistanceBetweenColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
CountColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
AtLeastNColumnSpec.columnNames(KnowledgeSource knowledgeSource) |
String[] |
TableColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds)
Infers the ids of the propositions corresponding to the contents of this
column.
|
String[] |
Reference.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
PropositionValueColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
PropositionColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
abstract String[] |
Link.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds)
Aggregates and returns the possible proposition ids on the right-hand
side of the link.
|
String[] |
DistanceBetweenColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
Derivation.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
CountColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
String[] |
AtLeastNColumnSpec.getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds) |
void |
TableColumnSpec.validate(KnowledgeSource knowledgeSource)
Validates the fields of this column specification against the
knowledge source.
|
void |
PropositionValueColumnSpec.validate(KnowledgeSource knowledgeSource) |
void |
PropositionColumnSpec.validate(KnowledgeSource knowledgeSource) |
void |
DistanceBetweenColumnSpec.validate(KnowledgeSource knowledgeSource) |
void |
CountColumnSpec.validate(KnowledgeSource knowledgeSource) |
void |
AtLeastNColumnSpec.validate(KnowledgeSource knowledgeSource) |
| Constructor and Description |
|---|
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Comparator<Proposition> comparator,
int index,
Derivation.Behavior behavior) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Comparator<Proposition> comparator,
int fromIndex,
int toIndex,
Derivation.Behavior behavior) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Value[] allowedValues,
Derivation.Behavior behavior) |
Copyright © 2012–2017 Emory University. All rights reserved.