Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doriantaylor/clj-rdfa-generator
Generate RDFa (and by the look of things JSON-LD) in Clojure from (currently) Jena
https://github.com/doriantaylor/clj-rdfa-generator
Last synced: 24 days ago
JSON representation
Generate RDFa (and by the look of things JSON-LD) in Clojure from (currently) Jena
- Host: GitHub
- URL: https://github.com/doriantaylor/clj-rdfa-generator
- Owner: doriantaylor
- License: apache-2.0
- Created: 2017-04-06T23:03:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T15:52:51.000Z (over 6 years ago)
- Last Synced: 2023-03-12T10:11:35.234Z (almost 2 years ago)
- Language: Clojure
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# rdfa-generator
DOES WHAT IT SAYS ON THE TIN!
## Usage
```
;; load the damn thing
(require '[rdfa-generator.core :as r]);; fire up a context
(def ctx (r/new-context));; load some rdf data
(r/parse (:model ctx) "some:/uri/to/some/rdf.n3");; now load all the vocabs found in the data
(r/populate-ontology ctx);; now you can generate some crap that looks like json-ld
(r/generate ctx "some://uri/to/some/resource");; and now i need to write some more code
```## License
Copyright © 2016 Dorian Taylor
Distributed under
the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).