Email or username:

Password:

Forgot your password?
Top-level
Josh Lee

@nasser @darius the context stuff embeds typing information about what the properties refer to, so the processor can tell what's an IRI or a string literal or some other typed object etc. and it's exactly like XML schemas except we can mostly pretend that RDF never had anything to do with XML and it was all just a bad dream.

i do kind of wonder if fedi clients will handle fully baroque json-ld or are only pretending though.

6 comments
nasser

@jleedev yeah I guess I'm curious as to what the "processor" is here. the implementations I've seen have all been just throwing JSON together as you would normally or parsing it normally with hard-coded rules. I haven't seen an implementation where the context gets consulted, but I'm also not well versed in this technology.

@darius if this is annoying LMK and I will take you off these mentions

tech? no! man, see...

@nasser @jleedev @darius right; I'm actually kinda curious about the difference between "all the stuff JSON-LD is capable of as a standard" vs "the way JSON-LD gets used by ActivityPub and its implementations"

I get the feeling that the latter is a lot more just "a document with hyperlinks" and the ontology stuff doesn't really come into play in a serious way, but maybe I've just been looking in the wrong places

Darius Kazemi

@technomancy @nasser @jleedev I've never encountered it as anything but "json with hyperlinks" in an AP context

nasser

@darius @technomancy @jleedev and, crucially, the differentiation between strings that are hyperlinks to be followed and strings that are just strings is captured directly in the software, as opposed to consulting some kind of schema in a meaningful way

Olivier Forget

@nasser @darius @technomancy @jleedev so are we saying that AP could have just used straight JSON and lost essentially nothing?

Go Up