Added first version of console autocompletion
This commit is contained in:
@@ -130,6 +130,12 @@ class SheerkaComparisonManager(BaseService):
|
||||
return self._inner_add_comparison(comparison_obj)
|
||||
|
||||
def get_partition(self, prop_name, comparison_context="#"):
|
||||
"""
|
||||
Returns the equivalent classes for the property, using the comparison_context
|
||||
:param prop_name:
|
||||
:param comparison_context:
|
||||
:return:
|
||||
"""
|
||||
weighted_concept = self.get_concepts_weights(prop_name, comparison_context)
|
||||
|
||||
return self._get_partition(weighted_concept)
|
||||
|
||||
Reference in New Issue
Block a user