rdf

quoll 2022-12-12T23:22:22.653469Z

I’ve been frustrated with some of the external parser libraries, and I wanted to see if I could do something faster than could be generated with Instaparse, so I made a Turtle parser https://clojurians.slack.com/archives/C06MAR553/p1670887256319439

🎉 6
Bart Kleijngeld 2022-12-21T09:02:55.240949Z

That's a really great name!

quoll 2022-12-21T13:06:25.170229Z

How many turtles are there that you can name a Turtle parser after? I figure I had limited choices: There’s the TMNTs. The Great A’Tuin. Yertle. Harriet (a tortoise, but I include her because of her historical significance) Are there other turtles I’ve missed? Note that I’d started on a turtle parser using 2 other techniques, and these already got the names Yertle and Myrtle 😜

Bart Kleijngeld 2022-12-21T13:10:05.500889Z

There's bound to be more! I love the effort you put into this. I really like "Raphael" because it starts with an R just like RDF. And because I grew up a as a young kid on the TMNTs 😉

quoll 2022-12-21T13:19:19.237979Z

I turned 51 yesterday, so I was clearly influenced by that cultural phenomenon 😊

Bart Kleijngeld 2022-12-21T13:20:10.146749Z

Congratulations Paula! 🙂

💖 1
quoll 2022-12-21T13:20:43.269379Z

I ought to have come up with a better tagline for the project, but I wanted to wrap it up, so I just wrote the first thing I could think of

Bart Kleijngeld 2022-12-21T13:22:39.033069Z

Ohh yeah the half-shell one 😂 . I enjoyed it. It's clever. But yeah, maybe someone can come up with one that references something in the original TMNT series

quoll 2022-12-21T13:23:27.489659Z

There are 2 modifications I want to make for upcoming releases (adapt for use with a stream reader, and a protocol to emit triples to, rather than accumulate in a vector), and that’ll hopefully happen in coming days. I have been thinking about it as I swim laps 🙂 (Rich uses a hammock, I use a pool)

Bart Kleijngeld 2022-12-21T13:24:49.964129Z

Cool! I'll be keeping a close eye on your project. I'm currently using RDF4j's Rio parse from native Java. It works fine, but it's always nice to replace it with a proper Clojure lib

Bart Kleijngeld 2022-12-21T13:25:28.662539Z

And yeah, repetitive moving is great for thinking ^^

quoll 2022-12-21T13:26:11.090589Z

A Clojure impl will never be as fast, but I think it’s more flexible, and most importantly, it’s 100% compatible with ClojureScript

Bart Kleijngeld 2022-12-21T13:26:59.476529Z

That's a major advantage indeed. And for my use case speed is not an issue anyways (information models limited to a use case don't amount to many triples)

quoll 2022-12-21T13:28:39.852939Z

As for the swimming… it’s ideal because of the increased blood flow, and also because it’s boring. Your mind is FORCED to think. It used to be tricky for me to design and count laps, but then Apple Watches started counting laps in the pool 🙂

Bart Kleijngeld 2022-12-21T13:29:48.231189Z

The boring part is absolutely essential! I agree

quoll 2022-12-21T13:30:02.063399Z

I also walk, but I listen to podcasts, or else someone comes with me and we talk. But swimming forces me to think problems through

Bart Kleijngeld 2022-12-21T13:30:55.261999Z

Walking is my boring go-to for the deep dive into my brain 🙂. Podcasts are for during doing the dishes and taking showers for me haha

quoll 2022-12-12T23:22:52.692509Z

I have no idea what the speed comparison is. But it was fun to build