[ckan-dev] Actions in rules

William Waites ww at styx.org
Tue Dec 21 00:43:27 UTC 2010


* [2010-12-20 17:17:29 -0500] Chimezie Ogbuji <chimezie at gmail.com> écrit:
]
] Does this work for you?

Actually it seems to work very well. The curate tool is now 
updated to take advantage of this. 

Actions look like this:

    https://github.com/wwaites/curate/blob/master/curate/rules.py

The network gets built like this:

    https://github.com/wwaites/curate/blob/master/curate/rules.py

A simple rule set:

    https://github.com/wwaites/curate/blob/master/examples/groups.n3

A slightly more elaborate ruleset (actually the use case I'm 
concerned with at the moment):

    https://github.com/wwaites/curate/blob/master/examples/tagging.n3

Cheers,
-w
-- 
William Waites
http://eris.okfn.org/ww/foaf#i
9C7E F636 52F6 1004 E40A  E565 98E3 BBF3 8320 7664




More information about the ckan-dev mailing list