| Package | Description |
|---|---|
| amie.data | |
| amie.mining | |
| amie.mining.assistant | |
| amie.rules |
| Modifier and Type | Method and Description |
|---|---|
KB |
KB.intersect(KB otherKb)
Returns a new FactDatabase containing the triples that are present in
the KBs.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<javatools.datatypes.ByteString> |
U.getAllEntitiesForType(KB source,
javatools.datatypes.ByteString type)
It returns all the instances of a given type.
|
static java.util.Set<javatools.datatypes.ByteString> |
U.getAllSuperTypes(KB source,
javatools.datatypes.ByteString type)
It returns all the supertypes of a given type.
|
static java.util.Set<javatools.datatypes.ByteString> |
U.getAllTypesForEntity(KB source,
javatools.datatypes.ByteString entity)
It returns all the types of a given entity.
|
static java.util.Set<javatools.datatypes.ByteString> |
U.getDomainSet(KB source,
javatools.datatypes.ByteString relation)
Gets all the entities of the type of the given relation's domain.
|
static java.util.Set<javatools.datatypes.ByteString> |
U.getLeafTypesForEntity(KB source,
javatools.datatypes.ByteString entity)
It returns the most specific types of an entity according to the type hierarchy
of the knowledge base.
|
static java.util.Set<javatools.datatypes.ByteString> |
U.getMaterializedTypesForEntity(KB source,
javatools.datatypes.ByteString entity)
It returns all the materialized types of an entity in a knowledge base.
|
static java.util.Set<javatools.datatypes.ByteString> |
U.getRangeSet(KB source,
javatools.datatypes.ByteString relation)
Gets all the entities of the type of the given relation's range.
|
static javatools.datatypes.ByteString |
U.getRelationDomain(KB source,
javatools.datatypes.ByteString relation)
Returns the domain of a given relation in a knowledge base
|
static javatools.datatypes.ByteString |
U.getRelationRange(KB source,
javatools.datatypes.ByteString relation)
Returns the range of a given relation in a knowledge base.
|
static java.util.Set<javatools.datatypes.ByteString> |
U.getSuperTypes(KB source,
javatools.datatypes.ByteString type)
It returns all the immediate super-types of a given type.
|
KB |
KB.intersect(KB otherKb)
Returns a new FactDatabase containing the triples that are present in
the KBs.
|
static boolean |
U.isLeafDatatype(KB source,
javatools.datatypes.ByteString type)
Determines whether a given type is specific, that is, it does not have subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
static AMIE |
AMIE.getLossyInstance(KB db,
double minPCAConfidence,
int minSupport)
Returns an instance of AMIE that enables the lossy optimizations, i.e., optimizations that
optimize for runtime but that could in principle omit some rules that should be mined.
|
static AMIE |
AMIE.getLossyVanillaSettingInstance(KB db,
double minPCAConfidence,
int startSupport)
Returns an (vanilla setting) instance of AMIE that enables the lossy optimizations, i.e., optimizations that
optimize for runtime but that could in principle omit some rules that should be mined.
|
static AMIE |
AMIE.getVanillaSettingInstance(KB db)
Returns an instance of AMIE that mines rules on the given KB using
the vanilla setting of head coverage 1% and no confidence threshold.
|
static AMIE |
AMIE.getVanillaSettingInstance(KB db,
double minPCAConfidence)
Returns an instance of AMIE that mines rules on the given KB using
the vanilla setting of head coverage 1% and a given PCA confidence threshold
|
| Modifier and Type | Field and Description |
|---|---|
protected KB |
MiningAssistant.kb
Factory object to instantiate query components
|
protected KB |
MiningAssistant.kbSchema
Exclusively used for schema information, such as subclass and sub-property
relations or relation signatures.
|
| Modifier and Type | Method and Description |
|---|---|
KB |
MiningAssistant.getKb()
It returns the training dataset from which rules atoms are added
|
KB |
MiningAssistant.getKbSchema()
It returns the KB containing the schema information (subclass and subproperty relationships,
domains and ranges for relation, etc.) about the training dataset.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MiningAssistant.setKbSchema(KB schemaSource) |
| Constructor and Description |
|---|
DefaultMiningAssistant(KB dataSource) |
MiningAssistant(KB dataSource) |
RelationSignatureDefaultMiningAssistant(KB dataSource) |
| Modifier and Type | Method and Description |
|---|---|
static int |
Rule.findFunctionalVariable(Rule q,
KB d) |