kif_lib.DeprecatedRank#
- class DeprecatedRank[source]#
Represents unreliable information.
Methods
__init__
()check
(obj[, function, name, position])Checks obj class.
check_annotation_record
([function, name, ...])Checks whether object is
AnnotationRecord
.check_annotation_record_set
([function, ...])Checks whether object is
AnnotationRecordSet
.check_data_value
([function, name, position])Checks whether object is
DataValue
.check_deep_data_value
([function, name, position])Checks whether object is
DeepDataValue
.check_deprecated_rank
([function, name, position])Checks whether object is
DeprecatedRank
.check_descriptor
([function, name, position])Checks whether object is
Descriptor
.check_entity
([function, name, position])Checks whether object is
Entity
.check_entity_fingerprint
([function, name, ...])Checks whether object is
EntityFingerprint
.check_filter_pattern
([function, name, position])Checks whether object is
FilterPattern
.check_fingerprint
([function, name, position])Checks whether object is
Fingerprint
.check_iri
([function, name, position])Checks whether object is
IRI
.check_item
([function, name, position])Checks whether object is
Item
.check_kif_object
([function, name, position])Checks whether object is
KIF_Object
.check_kif_object_set
([function, name, position])Checks whether object is
KIF_ObjectSet
.check_no_value_snak
([function, name, position])Checks whether object is
NoValueSnak
.check_normal_rank
([function, name, position])Checks whether object is
NormalRank
.check_object
([function, name, position])Checks whether object is
Object
.check_optional
(obj[, default, function, ...])Checks optional obj class.
check_pattern
([function, name, position])Checks whether object is
Pattern
.check_preferred_rank
([function, name, position])Checks whether object is
PreferredRank
.check_property
([function, name, position])Checks whether object is
Property
.check_property_fingerprint
([function, name, ...])Checks whether object is
PropertyFingerprint
.check_quantity
([function, name, position])Checks whether object is
Quantity
.check_rank
([function, name, position])Checks whether object is
Rank
.check_reference_record
([function, name, ...])Checks whether object is
ReferenceRecord
.check_reference_record_set
([function, name, ...])Checks whether object is
ReferenceRecordSet
.check_snak
([function, name, position])Checks whether object is
Snak
.check_snak_set
([function, name, position])Checks whether object is
SnakSet
.check_some_value_snak
([function, name, position])Checks whether object is
SomeValueSnak
.check_statement
([function, name, position])Checks whether object is
Statement
.check_string
([function, name, position])Checks whether object is
String
.check_text
([function, name, position])Checks whether object is
Text
.check_text_set
([function, name, position])Checks whether object is
TextSet
.check_time
([function, name, position])Checks whether object is
Time
.check_value
([function, name, position])Checks whether object is
Value
.check_value_snak
([function, name, position])Checks whether object is
ValueSnak
.copy
()Makes a shallow copy of object.
count
(value)deepcopy
([memo])Makes a deep copy of object.
dump
(fp[, format])Encodes object and writes the result to stream.
dumps
([format])Encodes object and returns the resulting string.
from_json
(s, **kwargs)Decodes string using JSON decoder.
from_sexp
(s, **kwargs)Decodes string using S-expression decoder.
from_sparql
(s, **kwargs)Decodes string using SPARQL decoder.
get_args
()Gets object arguments.
get_digest
()Gets object digest.
index
(value, [start, [stop]])Raises ValueError if the value is not present.
is_annotation_record
()Tests whether object is
AnnotationRecord
.is_annotation_record_set
()Tests whether object is
AnnotationRecordSet
.is_data_value
()Tests whether object is
DataValue
.is_deep_data_value
()Tests whether object is
DeepDataValue
.is_deprecated_rank
()Tests whether object is
DeprecatedRank
.is_descriptor
()Tests whether object is
Descriptor
.is_entity
()Tests whether object is
Entity
.is_entity_fingerprint
()Tests whether object is
EntityFingerprint
.is_filter_pattern
()Tests whether object is
FilterPattern
.is_fingerprint
()Tests whether object is
Fingerprint
.is_iri
()Tests whether object is
IRI
.is_item
()Tests whether object is
Item
.is_kif_object
()Tests whether object is
KIF_Object
.is_kif_object_set
()Tests whether object is
KIF_ObjectSet
.is_no_value_snak
()Tests whether object is
NoValueSnak
.is_normal_rank
()Tests whether object is
NormalRank
.is_object
()Tests whether object is
Object
.is_pattern
()Tests whether object is
Pattern
.is_preferred_rank
()Tests whether object is
PreferredRank
.is_property
()Tests whether object is
Property
.is_property_fingerprint
()Tests whether object is
PropertyFingerprint
.is_quantity
()Tests whether object is
Quantity
.is_rank
()Tests whether object is
Rank
.is_reference_record
()Tests whether object is
ReferenceRecord
.is_reference_record_set
()Tests whether object is
ReferenceRecordSet
.is_snak
()Tests whether object is
Snak
.is_snak_set
()Tests whether object is
SnakSet
.is_some_value_snak
()Tests whether object is
SomeValueSnak
.is_statement
()Tests whether object is
Statement
.is_string
()Tests whether object is
String
.is_text
()Tests whether object is
Text
.is_text_set
()Tests whether object is
TextSet
.is_time
()Tests whether object is
Time
.is_value
()Tests whether object is
Value
.is_value_snak
()Tests whether object is
ValueSnak
.load
(fp[, format])Decodes stream and returns the resulting object.
loads
(s[, format])Decodes string and returns the resulting object.
replace
(*args)Shallow-copies object overwriting the given arguments.
test
(obj)Tests obj class.
test_annotation_record
()Tests whether object is
AnnotationRecord
.test_annotation_record_set
()Tests whether object is
AnnotationRecordSet
.test_data_value
()Tests whether object is
DataValue
.test_deep_data_value
()Tests whether object is
DeepDataValue
.test_deprecated_rank
()Tests whether object is
DeprecatedRank
.test_descriptor
()Tests whether object is
Descriptor
.test_entity
()Tests whether object is
Entity
.test_entity_fingerprint
()Tests whether object is
EntityFingerprint
.test_filter_pattern
()Tests whether object is
FilterPattern
.test_fingerprint
()Tests whether object is
Fingerprint
.test_iri
()Tests whether object is
IRI
.test_item
()Tests whether object is
Item
.test_kif_object
()Tests whether object is
KIF_Object
.test_kif_object_set
()Tests whether object is
KIF_ObjectSet
.test_no_value_snak
()Tests whether object is
NoValueSnak
.test_normal_rank
()Tests whether object is
NormalRank
.test_object
()Tests whether object is
Object
.test_pattern
()Tests whether object is
Pattern
.test_preferred_rank
()Tests whether object is
PreferredRank
.test_property
()Tests whether object is
Property
.test_property_fingerprint
()Tests whether object is
PropertyFingerprint
.test_quantity
()Tests whether object is
Quantity
.test_rank
()Tests whether object is
Rank
.test_reference_record
()Tests whether object is
ReferenceRecord
.test_reference_record_set
()Tests whether object is
ReferenceRecordSet
.test_snak
()Tests whether object is
Snak
.test_snak_set
()Tests whether object is
SnakSet
.test_some_value_snak
()Tests whether object is
SomeValueSnak
.test_statement
()Tests whether object is
Statement
.test_string
()Tests whether object is
String
.test_text
()Tests whether object is
Text
.test_text_set
()Tests whether object is
TextSet
.test_time
()Tests whether object is
Time
.test_value
()Tests whether object is
Value
.test_value_snak
()Tests whether object is
ValueSnak
.to_json
(**kwargs)Encodes object using JSON encoder.
to_markdown
(**kwargs)Encodes object using Markdown encoder.
to_sexp
(**kwargs)Encodes object using S-expression encoder.
unpack
(obj[, function, name, position])Unpacks obj's arguments.
unpack_annotation_record
([function, name, ...])Unpacks arguments of
AnnotationRecord
.unpack_annotation_record_set
([function, ...])Unpacks arguments of
AnnotationRecordSet
.unpack_data_value
([function, name, position])Unpacks arguments of
DataValue
.unpack_deep_data_value
([function, name, ...])Unpacks arguments of
DeepDataValue
.unpack_deprecated_rank
([function, name, ...])Unpacks arguments of
DeprecatedRank
.unpack_descriptor
([function, name, position])Unpacks arguments of
Descriptor
.unpack_entity
([function, name, position])Unpacks arguments of
Entity
.unpack_entity_fingerprint
([function, name, ...])Unpacks arguments of
EntityFingerprint
.unpack_filter_pattern
([function, name, position])Unpacks arguments of
FilterPattern
.unpack_fingerprint
([function, name, position])Unpacks arguments of
Fingerprint
.unpack_iri
([function, name, position])Unpacks arguments of
IRI
.unpack_item
([function, name, position])Unpacks arguments of
Item
.unpack_kif_object
([function, name, position])Unpacks arguments of
KIF_Object
.unpack_kif_object_set
([function, name, position])Unpacks arguments of
KIF_ObjectSet
.unpack_no_value_snak
([function, name, position])Unpacks arguments of
NoValueSnak
.unpack_normal_rank
([function, name, position])Unpacks arguments of
NormalRank
.unpack_object
([function, name, position])Unpacks arguments of
Object
.unpack_pattern
([function, name, position])Unpacks arguments of
Pattern
.unpack_preferred_rank
([function, name, position])Unpacks arguments of
PreferredRank
.unpack_property
([function, name, position])Unpacks arguments of
Property
.unpack_property_fingerprint
([function, ...])Unpacks arguments of
PropertyFingerprint
.unpack_quantity
([function, name, position])Unpacks arguments of
Quantity
.unpack_rank
([function, name, position])Unpacks arguments of
Rank
.unpack_reference_record
([function, name, ...])Unpacks arguments of
ReferenceRecord
.unpack_reference_record_set
([function, ...])Unpacks arguments of
ReferenceRecordSet
.unpack_snak
([function, name, position])Unpacks arguments of
Snak
.unpack_snak_set
([function, name, position])Unpacks arguments of
SnakSet
.unpack_some_value_snak
([function, name, ...])Unpacks arguments of
SomeValueSnak
.unpack_statement
([function, name, position])Unpacks arguments of
Statement
.unpack_string
([function, name, position])Unpacks arguments of
String
.unpack_text
([function, name, position])Unpacks arguments of
Text
.unpack_text_set
([function, name, position])Unpacks arguments of
TextSet
.unpack_time
([function, name, position])Unpacks arguments of
Time
.unpack_value
([function, name, position])Unpacks arguments of
Value
.unpack_value_snak
([function, name, position])Unpacks arguments of
ValueSnak
.Attributes
Nil
Absence of value distinct from
None
.args
Object arguments.
deprecated
digest
Object digest.
normal
preferred