This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-25
Channels
- # announcements (2)
- # asami (16)
- # babashka (55)
- # beginners (27)
- # calva (14)
- # cider (5)
- # clj-kondo (16)
- # cljs-dev (22)
- # clojure (72)
- # clojure-europe (89)
- # clojure-nl (10)
- # clojure-uk (7)
- # clojured (1)
- # clojurescript (14)
- # community-development (4)
- # core-async (15)
- # emacs (10)
- # events (2)
- # fulcro (3)
- # graalvm (1)
- # graalvm-mobile (71)
- # helix (7)
- # honeysql (2)
- # introduce-yourself (1)
- # jobs-discuss (17)
- # juxt (3)
- # lsp (62)
- # malli (13)
- # meander (7)
- # off-topic (14)
- # pathom (54)
- # polylith (6)
- # re-frame (11)
- # releases (1)
- # sci (22)
- # sql (9)
- # tools-deps (84)
- # vim (37)
- # xtdb (18)
I’m very excited to get into Asami for the graph algorithms, and I’m looking for anecdotal experience about it’s current limits.
There are only a few things. It can find shortest paths between nodes. It can identify all subgraphs. It can find a subgraph that a node is part of. It also integrates into Loom, and will respond to the algorithm APIs there as well
Great! I use ubergraph in memory now to find connected components, so I think it will work just fine!
I ought to write up how best to use these things. They’re there but they are probably hard to find 😕
It’s a case of identifying a need that my team has (or occasionally, something that I think seems interesting) and then my team decides not to bother using it.
Identifying all disconnected subgraphs was an operation that my team definitely needed. And then they decided to do something else after I made it. Sigh.
I’m build an id graph from our company id’s (netid, email, hr-id) to find issues. I think this will work
I’m currently writing some SPARQL queries to detect whether SKOS concept schemes conform to various topologies; i.e. whether they’re flat, tree, dag, cyclic-graph etc… Those tasks turn out to be pretty trivial queries; and will almost certainly be in asami too. The most complex of them is detecting cycles, and that’s trivial with property paths.
Cool! I talked a bit about cyclic queries in the context of Crux for a recent Clojure Provo meetup, and wrote some tests to benchmark performance: https://github.com/juxt/crux/pull/1499 Crux is slower than, e.g. DataScript, but doesn't OOM as the data set increases. How have you found memory usage to be whilst detecting cycles?
I don’t know. For my implementation it’ll be dependent on the underlying database as it’s done in a single SPARQL query with a property path, and the graphs I’m working with are small enough to live in memory anyway. I would expect the query to be memory bound though it’ll depend on the implementation. For my data cycles are a very rare edge case, and one of the main reasons for testing it is to invalidate certain graphs and avoid running algorithms that may not terminate in the presence of cycles over the data.