Skip to main content

Installation

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+http://python-dlp.googlecode.com/svn/trunk/layercake-python#egg=rdflib
pip install hg+https://fuxi.googlecode.com/hg/#egg=fuxi

## install this package from git
git clone git://github.com/wwaites/graphmin.git
cd graphmin
python setup.py develop

Example

Running this example:

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

Should give this result:

@prefix eg: <http://example.org/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.

eg:a a eg:A.

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

References

Metadata

Release files for graphmin 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for graphmin 0.1.8
File Size Uploaded
graphmin-0.1.8.tar.gz 3.7 kB Details

Release files / graphmin-0.1.8.tar.gz

Download URL graphmin-0.1.8.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f46ce3151f096ed7965901df1d49f2350bcf8d75e77f88a1f6e99d7abcb79a28
BLAKE2b-256 checksum
How to use checksums
a30416548cd3277883ba0e4bb6489a689b6cd83539d49c5bbd21ff88341198dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.8 This release

1 release file

0.1.7

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page