This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-23
Channels
- # announcements (16)
- # asami (4)
- # babashka (49)
- # beginners (70)
- # calva (25)
- # clojars (3)
- # clojure (40)
- # clojure-europe (82)
- # clojure-france (15)
- # clojure-gamedev (16)
- # clojure-nl (2)
- # clojured (7)
- # clojurescript (13)
- # conjure (11)
- # cursive (4)
- # data-science (12)
- # datalevin (2)
- # figwheel-main (5)
- # gratitude (5)
- # honeysql (5)
- # hyperfiddle (4)
- # jobs (4)
- # joyride (3)
- # lsp (10)
- # malli (2)
- # missionary (14)
- # nbb (2)
- # off-topic (3)
- # pathom (16)
- # rdf (5)
- # releases (4)
- # sci (35)
- # shadow-cljs (16)
- # tools-deps (22)
- # xtdb (7)
@rickmoynihan it wouldn't be a silver bullet for sure -- but take like Stardog's stored query = REST service approach. Having this response format option would make it look like vanilla JSON service... this URL just happens to run this SPARQL query, and you get your response out as something easy to deal with. We do that similar type of translation stuff for graphql in Stardog already, and it's alright - plenty of folks are using it, even in combo w/ stuff like Apollo. But you still wind up with URI or prefixes in the mix
Yeah that’s quite neat… My only real problem with prefixes in these contexts for API’s is handling them in a non-breaking manner with data from an open world. i.e. a new URI term appears, and consumers adopt it by it’s full URI; but it stands out like a sore thumb when other identifiers have prefixes registered… so you add a prefix for it, but then break existing consumers.
So then you have to ask what is the point. You might as well just use the URIs; though there are more dimensions to this decision for sure.
my original use case for this was I think the early verions of Gephi didn't deal with URIs nicely, so you'd load it up but then you'd get URLs w/ poor UX on truncating, so the whole thing was accurate on shape/colors, but you had to double click to see what was really going on, since every label was effectively the same (the first 16 characters of the URI, then truncated with a few dots or whatever it was).