core-logic

bajrachar 2018-09-07T02:13:53.000100Z

@rickmoynihan - sounds interesting. I'd love to take a look at matcha and play around when I have some time - perhaps this weekend.

bajrachar 2018-09-07T02:15:19.000100Z

SPARQL queries are a bit verbose for my liking - but I do like the idea of query string being a function and also a representation of the relationship you're querying

bajrachar 2018-09-07T02:17:12.000100Z

goes well with "code is data" mantra 🙂

2018-09-07T08:18:11.000100Z

@bajrachar: Thanks. What what’s there should be quite useful for us… Being a macro it obviously makes use of “code is data”, but I’d prefer to also offer a “data is data” model, so we can generate queries directly. Matcha is really just the BGP bit of SPARQL, so it’s hard to see how it could be made more terse… At some point I’ll probably add property paths to Matcha, to make it even more terse i.e. things like (construct-1 ?foafoafoaf [[:rick [:foaf/knows :foaf/knows :foaf/knows] ?foafoafoaf]])

2018-09-07T08:20:38.000100Z

and also an equivalent of VALUES clauses: (construct-1 ?label-or-title [[:resource #{:rdfs/label :dcterms/title} ?label-or-title]])