This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-22
Channels
- # aws (12)
- # babashka (24)
- # beginners (51)
- # biff (2)
- # cherry (4)
- # cider (2)
- # clj-kondo (4)
- # cljs-dev (19)
- # clojure (70)
- # clojure-australia (4)
- # clojure-europe (39)
- # clojure-nl (4)
- # clojure-norway (6)
- # clojure-spec (9)
- # clojurescript (21)
- # component (6)
- # cursive (18)
- # data-science (9)
- # datomic (18)
- # events (2)
- # expound (4)
- # fulcro (15)
- # graalvm (2)
- # graphql (5)
- # jobs (1)
- # juxt (2)
- # leiningen (8)
- # malli (4)
- # meander (21)
- # nrepl (3)
- # observability (14)
- # off-topic (49)
- # other-languages (1)
- # pathom (13)
- # pedestal (7)
- # rdf (5)
- # re-frame (10)
- # reitit (1)
- # sql (4)
- # squint (30)
- # tools-deps (1)
- # vim (11)
@rowland.watkins Thanks, I actually didn’t think of that. However, I wonder what kind of complexities I could run into with named graphs since I also make heavy use of inferencing in Jena. Maybe it won’t be an issue at all. I guess this is the best way to prepare data for export. In any case, I still want the metadata relations in place since the dataset and all relevant schema are meant to be browsed:
While my knowledge of the tooling is definitely behind (I haven’t used Jena in over a decade), I used the NG4J (Named Graphs 4 Jena) extension lib to do a lot of the heavy work. If memory serves, you can specify the Model Jena outputs entailments to, in this case a NamesGraphDataSet. Jena has clearly grown over the years!
Throwing entailments into a names graph was very useful to me since I was able to garbage collect the forward reasoner output between runs
@simongray so in your case there could be an option to throw entailments into a named graph and optionally merge them with the main dataset if they are useful
Hey @rowland.watkins I actually did end up partitioning a Jena Dataset into separate named models which of course each have their own underlying RDF graph. While it did require a bit of refactoring, it helped me immensely to have these things properly separated. Exporting as separate files is very easy now! Thank you for the pointer.
Hey @rowland.watkins I actually did end up partitioning a Jena Dataset into separate named models which of course each have their own underlying RDF graph. While it did require a bit of refactoring, it helped me immensely to have these things properly separated. Exporting as separate files is very easy now! Thank you for the pointer.