Skip to main content

A tool for querying real-world graph database

Project description

Description:

This tool is used to extract specific graphs in a database(must have the same columns and attributes with ours).

Motivation:

In GNN dataset like OGB and TUDataset, we can directly use the dataset e.g. MUTAG, Cora, etc. However, in some cases, we need to extract specific graphs from a database to support specific tasks or experiments or do some stress tests. Take the GNN based subgraph counting for example, there is a method that cannot support very dense graphs or graphs has some dense and star-shaped part, so we need to filter the graphs to get proper ones. This tool is designed for this purpose.

Usage:

  • python main.py --config my_config.json --database my_database.db
  • data_objects = run_query('config.json', 'rwd.db')

The configuration file should be a JSON file specifying the query parameters.

License:

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rwdq-0.1.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

rwdq-0.1.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page