semra
Getting Started
Installation
Mapping Assembly Pipeline
SeMRA Raw Semantic Mappings Database
Domain-specific Processed Mapping Databases
Prioritizing CURIEs in a Dataframe
Data Structure
Getting and Writing Semantic Mappings
Reference
semra.api Module
Functions
apply_mutations
assemble_evidences
assert_projection
count_component_sizes
count_source_target
deduplicate_evidence
filter_many_to_many
filter_mappings
filter_minimum_confidence
filter_prefixes
filter_self_matches
filter_subsets
flip
get_asymmetric_counter
get_identifier_index
get_index
get_many_to_many
get_observed_terms
get_priority_reference
get_symmetric_counter
get_terms
get_test_evidence
get_test_reference
hydrate_subsets
keep_object_prefixes
keep_prefixes
keep_subject_prefixes
print_source_target_counts
prioritize
prioritize_df
project
project_dict
str_source_target_counts
summarize_prefixes
tabulate_index
unindex
update_literal_mappings
validate_mappings
Classes
semra.inference Module
semra.rules Module
semra.vocabulary Module
semra.constants Module
Command Line Interface
Querying with Cypher
semra
Reference
get_index
View page source
get_index
get_index
(
mappings
:
Iterable
[
Mapping
]
,
*
,
progress
:
bool
=
True
,
leave
:
bool
=
False
)
→
dict
[
Triple
,
list
[
Annotated
[
ReasonedEvidence
|
SimpleEvidence
,
FieldInfo
(
annotation
=
NoneType
,
required
=
True
,
discriminator
=
'evidence_type'
)
]
]
]
[source]
Aggregate and deduplicate evidences for each core triple.