The swish package

[Tags:lgpl, library, program, test]

Swish is a framework, written in the purely functional programming language Haskell, for performing deductions in RDF data using a variety of techniques. Swish is conceived as a toolkit for experimenting with RDF inference, and for implementing stand-alone RDF file processors (usable in similar style to CWM, but with a view to being extensible in declarative style through added Haskell function and data value declarations). It explores Haskell as "a scripting language for the Semantic Web".

Swish is a work-in-progress, and currently incorporates:

Changes in version

Changes in version

Changes in version

For code that uses the Swish script language, the main change is to import Swish rather than Swish.RDF.SwishMain, and to note that the other Swish.RDF.Swish* modules are now called Swish.*.

For code that uses the graph library, the main changes are that Swish.RDF.RDFGraph is now called Swish.RDF.Graph, the Lit constructor of the RDFLabel has been split into three (Lit, LangLit, and TypedLit) and a new LanguageTag type introduced, local names now use the LName type (previously they were just Text values), and the parsers and formatters have renamed to Swish.RDF.Parser.* and Swish.RDF.Formatter.*.

Changes in previous versions can be found at


[Skip to Readme]


Versions 0.2.1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies base (>=3 && <5), binary (==0.5.*), containers (>=0.3 && <0.6), directory (>=1.0 && <1.2), filepath (>=1.1 && <1.4), hashable (==1.1.*), intern (>=0.8 && <1.0), mtl (==2.*), network (>=2.2 && <2.4), old-locale (==1.0.*), polyparse (>=1.6 && <1.9), semigroups (>=0.5 && <0.9), swish, text (==0.11.*), time (>=1.1 && <1.5) [details]
License LGPL
Copyright (c) 2003, 2004 G. Klyne; 2009 Vasili I Galchin; 2011, 2012 Doug Burke; All rights reserved.
Author Graham Klyne -
Category Semantic Web
Home page
Bug tracker
Source repository head: hg clone
Uploaded Wed Aug 8 16:27:51 UTC 2012 by DouglasBurke
Distributions Debian:, NixOS:
Downloads 9986 total (13 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




developerTurn on developer flagsDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for swish

Readme for swish-

This is an update to Swish [1,2] so that it builds with a recent
Haskell platform.

For more information on this release see [3].