Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>
Clone
HTTPS:
git clone https://vervis.peers.community/repos/yEzqv
SSH:
git clone USERNAME@vervis.peers.community:yEzqv
Branches
Tags
vocabularies-hs.mdwn
Links
- [[News]]
- [[Releases]]
- [[Forum]]
-
[[Tickets]]
[[!toc]]
Introduction
vocabularies-hs provides Smaoin resource and value definitions as Haskell variables for direct convenient fast use in Haskell code, and tools for generating these definitions.
There can be many vocabulary packages for Haskell, made independently. This project provides vocabulary variable definitions for [[/projects/Kadma]] (i.e. base framework namespaces), and lists definitions provided for the [[/projects/Kiwi]] ontologies.
All the vocabularies are under the
Data.Smaoin.Vocabulary
module, organized by namespace, with names based on the English localization. For example, if you define an ontology under namespacehello
, you can place vocabulary entities underData.Smaoin.Vocabulary.Hello
.Vocabulary entity modules should be auto-generated from their source documents (mostly written in [[/projects/Idan]]), but at this early stage the variable definitions are written manually (but based on the Idan sources).
Download
Releases are uploaded to Hackage.
Components:
vocabulary-kadma
- definitions for the base framework (currently hand-written)- Darcs source repo: [[!darcshub fr33domlover/vocabulary-kadma]]
- Hackage package: [[!hackage vocabulary-kadma]]
vocabulary-todo
- definitions for the [[todo|/projects/kiwi/data/idan-files/todo.idan]] ontology (currently hand-written)- Darcs source repo: [[!darcshub fr33domlover/vocabulary-todo]]
- Hackage package: [[!hackage vocabulary-todo]]
generate-vocabulary
- utility which generates definitions from semantic document source files written in Idan, Kort, etc. (hasn’t been written yet, needs Kort and Idan parsers to be written)- Darcs source repo will be at: [[!rl4darcs generate-vocabulary]]
- Hackage package will be: [[!hackage generate-vocabulary]]
Some plans for the components, since development just started:
- The generator can be both a library and a program which just parses command line options and uses the library
Documentation
For now, see the Haddock generated pages and the source itself.
Freedom
vocabularies-hs is free software, and is committed to software freedom and to freedom in general. It is released to the public domain using the CC0 Public Domain Dedication. See [[/freedom]].
Bugs, Ideas, Tasks and Decisions
- [[tickets]]
- [[decisions]]