This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-22
Channels
- # arachne (8)
- # bangalore-clj (1)
- # beginners (72)
- # boot (95)
- # braveandtrue (5)
- # business (1)
- # capetown (1)
- # cider (180)
- # cljs-dev (8)
- # cljsrn (20)
- # clojure (104)
- # clojure-art (1)
- # clojure-brasil (8)
- # clojure-czech (1)
- # clojure-greece (15)
- # clojure-korea (13)
- # clojure-poland (2)
- # clojure-russia (53)
- # clojure-sg (5)
- # clojure-spec (60)
- # clojure-uk (35)
- # clojurescript (186)
- # community-development (3)
- # core-async (24)
- # cursive (18)
- # datascript (11)
- # datomic (39)
- # devcards (4)
- # emacs (2)
- # events (1)
- # funcool (23)
- # hoplon (148)
- # juxt (1)
- # ldnclj (2)
- # luminus (1)
- # off-topic (22)
- # om (27)
- # onyx (35)
- # overtone (2)
- # pedestal (7)
- # perun (8)
- # protorepl (2)
- # rdf (6)
- # re-frame (15)
- # reagent (2)
- # ring-swagger (10)
- # untangled (54)
@stain: Check out grafter - we have pretty comprehensive protocols to coerce between RDF/clojure types
its been in production use for a few years - and its pretty robust… it should cover all of RDF 1.1 and support all RDF serialisations etc... https://github.com/Swirrl/grafter/blob/master/src/rdf-common/grafter/rdf/io.clj
I also have a side project to do what you’re starting… I’m basically extracting the protocols from grafter into a separate project, with plans to implement them on Commons RDF, Sesame and Jena.. https://github.com/Swirrl/core.rdf
The grafter stuff isn’t perfect - it has a few minor aesthetic issues which are largely resolved on the 0.8.0-snapshot branch (which is basically stable and will be released soon) but we’ve been using it for almost all of our RDF processing for almost 3 years… It also has a super simple turtle like DSL which you can use for writing triple templates e.g.
(def template
(graph-fn [{:keys [dataset-title dataset-slug dataset-uri dataset-graph
observation-graph
structure-uri]}]
(graph dataset-graph
[dataset-uri
[rdf:a qb:DataSet]
[qb:structure structure-uri]
[rdfs:label (lang dataset-title :en)]
[dcterms:title (lang dataset-title :en)]
[dcterms:modified (modified-date)]])))
I do really need to write a tutorial for the RDF side of things though
I see you’re based in Manchester! Small world!! I run the Manchester Lambda Lounge http://lambdalounge.org.uk/