flpq_data.dataset.graph_info#

graph_info(name: str) → GraphInfo[source]#

Returns the registry record of one graph.

Parameters:
namestr

The graph name (see graph_names()).

Returns:
infoGraphInfo

The metadata of the graph.

Raises:
FileNotFoundError

If no graph with this name exists in the dataset.

Examples

>>> from flpq_data import *
>>> info = graph_info("skos")
>>> info.category, info.num_nodes, info.num_edges
('rdf', 144, 252)