Hello, I have a list of json documents I transacted into asami and in each document has a key "skills" with value a list of strings. Does asami add each element to the graph as a node or is the entire list a node? Because I tried (asami/q '[:find ?skill :where [_ :skills ?skills]] (...)) returns a list of [:a/node-XXXXX]
if you do not care about the order then it might be better to leverage multi-value property by turning the list into a set
You’re welcome
Unless it’s an id property, then it gets structured as a linked list in the graph, just as RDF does it: https://www.w3.org/TR/rdf-mt/%23InterpVocab#collections
It’s documented here: https://github.com/quoll/asami/wiki/5.-Entity-Structure#arrays
Thank you for making things clear. 🙏