def summarize() -> Statistics: """Returns summary statistics on the graph.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_SUMMARIZE)
def subgraphs() -> Statistics(): return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_SUBGRAPH)
def total_bel_edges() -> Statistics(): """Returns the total number of BEL curated edges in the knowledge graph.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_TOTAL_STATEMENTS)
def total_publications() -> Statistics(): """Returns the total number of publications in the knowledge graph.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_TOTAL_PUBLICATIONS)
def nodes() -> Statistics(): """Returns statistics on the frequency of each node type in the knowledge graph.""" return Statistics().apply_api_function(ss_functions.BEL_STATISTICS_NODES)
def total_bel_nodes() -> Statistics(): """Returns the total number of nodes generated from curated statements in the knowledge graph.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_TOTAL_BEL_NODES)
def node_namespace_order_by_count() -> Statistics(): """Returns statistics on the frequency of each node type and each namespace in the knowledge graph in order of count.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_NODE_NAMESPACE_ORDER_BY_COUNT)
def node_namespace_order_by_namespace() -> Statistics(): return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_NODE_NAMESPACE_ORDER_BY_NAMESPACE)
def namespace_by_count() -> Statistics: """Returns the number of nodes for each namespace in KG.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_NAMESPACE_COUNT)
def last_author_by_number_of_statements() -> Statistics(): """Returns statistics on the number of statements per author in the knowledge graph.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_LAST_AUTHOR_BY_NUMBER_OF_STATEMENTS)
def last_author_by_number_of_publications() -> Statistics: """Returns statistics on the number of publications per author in the knowledge graph.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_LAST_AUTHOR_BY_NUMBER_OF_PUBLICATIONS)
def publication_by_number_of_statements() -> Statistics: """Returns statistics on the number of statements per publication in the knowledge graph.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_PUBLICATION_BY_NUMBER_OF_STATEMENTS)
def publication_by_year() -> Statistics: """Returns statistics on the number of publications per year in the knowledge graph.""" return Statistics().apply_api_function( ss_functions.BEL_STATISTICS_PUBLICATION_BY_YEAR)