Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

RDF Graph Minimisation

Project description


For the inferencing, a special branch of rdflib is needed:

## don't install this stuff system-wide, use virtualenv
virtualenv foo
. ./foo/bin/activate

## install the prerequisites
pip install pyparsing
pip install -e svn+
pip install hg+

## install this package from git
git clone git://
cd graphmin
python develop


Running this example:

graphmin -i examples/ex1.n3 -f n3 -r examples/rdfs-rules.n3

Should give this result:

@prefix eg: <>.
@prefix rdf: <>.

eg:a a eg:A.

Because the statement eg:a a rdfs:Resource in ex1.n3 is entailed by the RDFS inference rules.

Project details

Download files

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

Files for graphmin, version 0.1.8
Filename, size File type Python version Upload date Hashes
Filename, size graphmin-0.1.8.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page