Skip to content

FormalLanguageConstrainedPathQuerying/CFPQ_Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2099f39 Β· May 24, 2022
Nov 9, 2021
May 24, 2022
Nov 7, 2021
Nov 7, 2021
Nov 7, 2021
May 29, 2021
May 8, 2021
May 24, 2022
Apr 21, 2021
Nov 9, 2021
Feb 25, 2021
Nov 7, 2021
Nov 7, 2021

Repository files navigation

CFPQ_Data

https://github.com/JetBrains-Research/CFPQ_Data/actions/workflows/tests.yml/badge.svg?branch=master https://codecov.io/gh/JetBrains-Research/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