Skip to content

FormalLanguageConstrainedPathQuerying/CFPQ_Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d4367d0 Β· Feb 24, 2024
Feb 24, 2024
Feb 24, 2024
Feb 24, 2024
Feb 24, 2024
Feb 24, 2024
May 29, 2021
Oct 6, 2022
Nov 7, 2022
Apr 21, 2021
Dec 8, 2022
Feb 25, 2021
Nov 7, 2021
Feb 24, 2024

Repository files navigation

CFPQ_Data

https://github.com/FormalLanguageConstrainedPathQuerying/CFPQ_Data/actions/workflows/tests.yml/badge.svg?branch=master https://codecov.io/gh/FormalLanguageConstrainedPathQuerying/CFPQ_Data/branch/master/graph/badge.svg?token=6IAZM6KZT7

CFPQ_Data is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex Graphs and Grammars used for experimental analysis of Context-Free Path Querying algorithms.

Examples

Dataset content

>>> import cfpq_data
>>> cfpq_data.DATASET
['skos', 'wc', 'generations', 'travel', 'univ', 'atom', 'biomedical', 'bzip', 'foaf', 'people', 'pr', 'funding', 'ls', 'wine', 'pizza', 'gzip', 'core', 'pathways', 'enzyme', 'eclass', 'go_hierarchy', 'go', 'apache', 'init', 'mm', 'geospecies', 'ipc', 'lib', 'block', 'arch', 'crypto', 'security', 'sound', 'net', 'fs', 'drivers', 'postgre', 'kernel', 'taxonomy', 'taxonomy_hierarchy']

Load graph from Dataset

>>> bzip_path = cfpq_data.download("bzip")
>>> bzip = cfpq_data.graph_from_csv(bzip_path)

How to add a new graph?

Just create