- get(Map<ByteString, Map<ByteString, IntHashMap<ByteString>>>, ByteString, ByteString) - Method in class amie.data.KB
-
It returns the third level values of a map given the keys for the first
and second level.
- get(Map<ByteString, Map<ByteString, IntHashMap<ByteString>>>, ByteString) - Method in class amie.data.KB
-
It returns the second and third level values of a map given the keys for the first
level.
- getAllAncestors() - Method in class amie.rules.Rule
-
- getAllEntitiesForType(KB, ByteString) - Static method in class amie.data.U
-
It returns all the instances of a given type.
- getAllSuperTypes(KB, ByteString) - Static method in class amie.data.U
-
It returns all the supertypes of a given type.
- getAllTypesForEntity(KB, ByteString) - Static method in class amie.data.U
-
It returns all the types of a given entity.
- getAncestors() - Method in class amie.rules.Rule
-
- getAntecedent() - Method in class amie.rules.Rule
-
Returns the list of triples in the body of the rule.
- getAntecedentClone() - Method in class amie.rules.Rule
-
Returns a list with copies of the triples of the rule.
- getAssistant() - Method in class amie.mining.AMIE
-
- getBasicRuleString() - Method in class amie.rules.Rule
-
- getBody() - Method in class amie.rules.Rule
-
Returns the list of triples in the body of the rule.
- getBodyExcludedRelations() - Method in class amie.mining.assistant.MiningAssistant
-
- getBodyMinusHeadSize() - Method in class amie.rules.Rule
-
- getBodyRelations() - Method in class amie.rules.Rule
-
- getBodySize() - Method in class amie.rules.Rule
-
The support of the body of the rule.
- getBodyTargetRelations() - Method in class amie.mining.assistant.MiningAssistant
-
- getBodyVariables() - Method in class amie.rules.Rule
-
Returns an array with the variables that occur in the body but not in the
head.
- getCanonicalPath() - Method in class amie.rules.Rule
-
Given a rule that contains a single variables path for the head variables
in the body (the method containsSinglePath returns true), it returns the
atoms sorted so that the path can be reproduced.
- getClosingAtoms(Rule, double, Collection<Rule>) - Method in class amie.mining.assistant.DefaultMiningAssistant
-
Returns all candidates obtained by adding a closing edge (an edge with two existing variables).
- getClosingAtoms(Rule, double, Collection<Rule>) - Method in class amie.mining.assistant.MiningAssistant
-
Returns all rule candidates obtained by adding a new atom that does not contain
fresh variables.
- getConfidenceMetric() - Method in class amie.mining.assistant.MiningAssistant
-
- getConfidenceRunningTime() - Method in class amie.rules.Rule
-
- getDanglingAtoms(Rule, double, Collection<Rule>) - Method in class amie.mining.assistant.DefaultMiningAssistant
-
Returns all candidates obtained by adding a new triple pattern to the query
- getDanglingAtoms(Rule, ByteString[], double, Collection<Rule>) - Method in class amie.mining.assistant.DefaultMiningAssistant
-
It adds to the output all the rules resulting from adding dangling atom instantiation of "edge"
to the query.
- getDanglingAtoms(Rule, double, Collection<Rule>) - Method in class amie.mining.assistant.MiningAssistant
-
Returns all candidates obtained by adding a new dangling atom to the query.
- getDatalogString() - Method in class amie.rules.Rule
-
- getDescription() - Method in class amie.mining.assistant.DefaultMiningAssistant
-
- getDescription() - Method in class amie.mining.assistant.MiningAssistant
-
Brief description of the MiningAssistant capabilities.
- getDescription() - Method in class amie.mining.assistant.RelationSignatureDefaultMiningAssistant
-
- getDomainSet(KB, ByteString) - Static method in class amie.data.U
-
Gets all the entities of the type of the given relation's domain.
- getEvaluationResult() - Method in class amie.rules.Rule
-
- getFactsCount() - Method in class amie.mining.assistant.MiningAssistant
-
- getFullRuleString() - Method in class amie.rules.Rule
-
- getFunctionalVariable() - Method in class amie.rules.Rule
-
- getFunctionalVariablePosition() - Method in class amie.rules.Rule
-
- getHashCardinality() - Method in class amie.rules.Rule
-
The cardinality number used to hash the rule.
- getHead() - Method in class amie.rules.Rule
-
Returns the head of a query B => r(a, b) as a triple [?a, r, ?b].
- getHeadCardinality(Rule) - Method in class amie.mining.assistant.MiningAssistant
-
- getHeadCoverage() - Method in class amie.rules.Rule
-
- getHeadExcludedRelations() - Method in class amie.mining.assistant.MiningAssistant
-
- getHeadKey() - Method in class amie.rules.Rule
-
Return a key for the rule based on the constant arguments of the head
atom.
- getHeadRelation() - Method in class amie.rules.Rule
-
Returns the rule's head relation as a String
- getHeadRelationBS() - Method in class amie.rules.Rule
-
Returns the rule's head relation as ByteString.
- getHeadVariables() - Method in class amie.rules.Rule
-
Returns the head variables of the rule.
- getId() - Method in class amie.rules.Rule
-
- getInitialAtoms(double, Collection<Rule>) - Method in class amie.mining.assistant.DefaultMiningAssistant
-
- getInitialAtoms(double, Collection<Rule>) - Method in class amie.mining.assistant.MiningAssistant
-
Returns a list of one-atom queries using the relations from the KB
- getInitialAtomsFromSeeds(Collection<ByteString>, double, Collection<Rule>) - Method in class amie.mining.assistant.DefaultMiningAssistant
-
- getInitialAtomsFromSeeds(Collection<ByteString>, double, Collection<Rule>) - Method in class amie.mining.assistant.MiningAssistant
-
Returns a list of one-atom queries using the head relations provided in the collection relations.
- getInstance(String[]) - Static method in class amie.mining.AMIE
-
Gets an instance of AMIE configured according to the command line arguments.
- getInstantiatedAtoms(Rule, Rule, int, int, double, Collection<Rule>) - Method in class amie.mining.assistant.DefaultMiningAssistant
-
Application of the "Add instantiated atom" operator.
- getInstantiatedAtoms(Rule, double, Collection<Rule>, Collection<Rule>) - Method in class amie.mining.assistant.MiningAssistant
-
Returns all candidates obtained by instantiating the dangling variable of the last added
triple pattern in the rule
- getInstantiatedAtoms(Rule, Rule, int, int, double, Collection<Rule>) - Method in class amie.mining.assistant.MiningAssistant
-
It returns all the refinements of queryWithDanglingEdge where the fresh variable in the dangling
atom has been bound to all the constants that keep the query above the support threshold.
- getKb() - Method in class amie.mining.assistant.MiningAssistant
-
It returns the training dataset from which rules atoms are added
- getKbSchema() - Method in class amie.mining.assistant.MiningAssistant
-
It returns the KB containing the schema information (subclass and subproperty relationships,
domains and ranges for relation, etc.) about the training dataset.
- getLastRealTriplePattern() - Method in class amie.rules.Rule
-
Return the last triple pattern which is not the a pseudo-atom.
- getLastRealTriplePatternIndex() - Method in class amie.rules.Rule
-
Return the index of the last triple pattern which is not the a
pseudo-atom.
- getLastTriplePattern() - Method in class amie.rules.Rule
-
Returns the last triple pattern added to this rule.
- getLeafTypesForEntity(KB, ByteString) - Static method in class amie.data.U
-
It returns the most specific types of an entity according to the type hierarchy
of the knowledge base.
- getLength() - Method in class amie.rules.Rule
-
Returns the number of atoms of the rule.
- getLengthWithoutTypes(ByteString) - Method in class amie.rules.Rule
-
Returns the number of atoms of the rule that are not type constraints of
the form rdf:type(?x, C) where C is a class, i.e., Person.
- getLengthWithoutTypesAndLinksTo(ByteString, ByteString) - Method in class amie.rules.Rule
-
Returns the number of atoms of the rule that are neither type constraints
of the form rdf:type(?x, C) or linksTo atoms.
- getLossyInstance(KB, double, int) - Static method in class amie.mining.AMIE
-
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.
- getLossyVanillaSettingInstance(KB, double, int) - Static method in class amie.mining.AMIE
-
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.
- getMaterializedTypesForEntity(KB, ByteString) - Static method in class amie.data.U
-
It returns all the materialized types of an entity in a knowledge base.
- getMaxDepth() - Method in class amie.mining.assistant.MiningAssistant
-
- getMinConfidence() - Method in class amie.mining.assistant.MiningAssistant
-
- getNonFunctionalVariable() - Method in class amie.rules.Rule
-
- getNonFunctionalVariablePosition() - Method in class amie.rules.Rule
-
- getOpenVariables() - Method in class amie.rules.Rule
-
- getParentsOfSize(List<ByteString[]>, ByteString[], int, List<List<ByteString[]>>) - Static method in class amie.rules.Rule
-
Given the antecedent and the succedent of a rule as sets of atoms, it
returns the combinations of atoms of size 'i' that are "parents" of the
current rule, i.e., subsets of atoms of the original rule.
- getPcaBodySize() - Method in class amie.rules.Rule
-
- getPcaConfidence() - Method in class amie.rules.Rule
-
- getPcaConfidenceRunningTime() - Method in class amie.rules.Rule
-
- getPcaConfidenceThreshold() - Method in class amie.mining.assistant.MiningAssistant
-
- getPcaEstimation() - Method in class amie.rules.Rule
-
- getPCAQuery() - Method in class amie.rules.Rule
-
It returns the query expression corresponding to the normalization value
used to calculate the PCA confidence.
- getPruningMetric() - Method in class amie.mining.AMIE
-
- getRangeSet(KB, ByteString) - Static method in class amie.data.U
-
Gets all the entities of the type of the given relation's range.
- getRealLength() - Method in class amie.rules.Rule
-
Returns the number of atoms of the rule that are not pseudo-atoms
Pseudo-atoms contain the Database keywords "DIFFERENTFROM" and "EQUALS"
- getRealLengthWithoutTypes(ByteString) - Method in class amie.rules.Rule
-
Returns the number of atoms of the rule that are neither pseudo-atoms nor
type constraints.
- getRealTriples() - Method in class amie.rules.Rule
-
Returns the triples of a query except for those containing DIFFERENTFROM
constraints.
- getRecursivityLimit() - Method in class amie.mining.assistant.MiningAssistant
-
- getRedundantAtoms(int) - Method in class amie.rules.Rule
-
Look for the redundant atoms with respect to a reference atom
- getRedundantAtoms() - Method in class amie.rules.Rule
-
Checks whether the last atom in the query is redundant.
- getRelationCardinality(String) - Method in class amie.mining.assistant.MiningAssistant
-
- getRelationCardinality(ByteString) - Method in class amie.mining.assistant.MiningAssistant
-
- getRelationDomain(KB, ByteString) - Static method in class amie.data.U
-
Returns the domain of a given relation in a knowledge base
- getRelationRange(KB, ByteString) - Static method in class amie.data.U
-
Returns the range of a given relation in a knowledge base.
- getRelations() - Method in class amie.data.KB
-
Get a collection with all the relations of the KB.
- getRelationsBiggerOrEqualThan(int) - Method in class amie.data.KB
-
Return all the relations (and their sizes) that are bigger than the given
threshold.
- getRelationsList() - Method in class amie.data.KB
-
Get a list of the relations of the KB.
- getRuleString() - Method in class amie.rules.Rule
-
- getSeeds() - Method in class amie.mining.AMIE
-
- getStdConfidence() - Method in class amie.rules.Rule
-
- getSubClasses(ByteString) - Method in class amie.mining.assistant.MiningAssistant
-
- getSuccedent() - Method in class amie.rules.Rule
-
Returns the head of a query B => r(a, b) as a triple [?a, r, ?b].
- getSuperTypes(KB, ByteString) - Static method in class amie.data.U
-
It returns all the immediate super-types of a given type.
- getSupport() - Method in class amie.rules.Rule
-
- getSupportRatio() - Method in class amie.rules.Rule
-
- getTotalCount(Rule) - Method in class amie.mining.assistant.DefaultMiningAssistant
-
- getTotalCount(Rule) - Method in class amie.mining.assistant.MiningAssistant
-
- getTotalCount(int) - Method in class amie.mining.assistant.MiningAssistant
-
- getTotalObjectCount() - Method in class amie.mining.assistant.MiningAssistant
-
- getTotalSubjectCount() - Method in class amie.mining.assistant.MiningAssistant
-
Returns the total number of subjects in the database.
- getTriples() - Method in class amie.rules.Rule
-
Return the list of triples of the query.
- getVanillaSettingInstance(KB) - Static method in class amie.mining.AMIE
-
Returns an instance of AMIE that mines rules on the given KB using
the vanilla setting of head coverage 1% and no confidence threshold.
- getVanillaSettingInstance(KB, double) - Static method in class amie.mining.AMIE
-
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
- getVariables() - Method in class amie.rules.Rule
-
Returns a list with all the different variables in the query.