Fork me on GitHub
#asami
<
2021-04-28
quoll02:04:36

How very rdf:Statement of you!

quoll02:04:12

That’s my way of saying…. “No” 🙂

👻 1
pithyless06:04:30

Since attribute is just another datom in Datomic you can do:

[?p ?a ?p2]
[?a :db/ident :friend]
But in Datomic edges are scalar and unlabeled. If we ease that requirement, perhaps we can push this further:
[?p ?e ?p2]
[?e :attr/ident :friend]
[?e :date ?date]
The primary difference being that ?e could have a multiple cardinality unlike Datomic.
[?p ?e ?p2]
[?e :attr/ident :friend]
[?e :priority ?p]
[(> ?p 10)]  ;; and maybe in find we want to (count ?e)
Warning: I'm still pre- so this may all be gibberish; but I like playing with the duality of labeled edges vs labeled-nodes + more-edges. This may be all very impractical. 🙂