These are chat archives for csarven/ldn

15th
Jul 2016
Melvin Carvalho
@melvincarvalho
Jul 15 2016 14:32
@csarven Im not sure it really maps.
Implementations producing Activity Streams 2.0 documents should include a @context property -- that should say MUST -- it's a bug
Manu told me on IRC that he is only aware of AS2 doing this
Amy Guy
@rhiaro
Jul 15 2016 14:38
@melvincarvalho this isn't ldn related so shouldn't really discuss here, but it's only a bug if AS2 is intended to be consumed solely as json-ld - which I know you think it should be - but it's also intended to be a syntax for plain JSON.
Actually JSON-LD doens't require a context either does it, if all the properties are URIs?
Melvin Carvalho
@melvincarvalho
Jul 15 2016 14:39
@rhiaro thanks for the reminder, very happy to keep on topic and talk about linked data here
Amy Guy
@rhiaro
Jul 15 2016 14:39
I've run JSON-LD without context through the playground before just fine
Melvin Carvalho
@melvincarvalho
Jul 15 2016 14:39
yes that's true also
e.g this one?
{
  "@id": "https://example.org/profile#alice",
  "http://ontologi.es/like#liked": "https://user.example/article"
}
tho is "https://user.example/article" supposed to be a URI or a literal? I think it's a literal in that example?
Sarven Capadisli
@csarven
Jul 15 2016 14:44
Yea, that should be fixed to include { @id .. }
Melvin Carvalho
@melvincarvalho
Jul 15 2016 14:47
@rhiaro just to answer your comment then i'll be quiet :) @context can also appear in plain JSON. Making it optional is a breaking change (what I called a bug) ... I assume it was done purely as syntactic sugar because I questioned it at the F2F and no one could give a reason for it.
@csarven makes sense. Tho sometimes you can have URIs as literals. e.g. in tims profile he has preferredURI as a string. I cant quite recall the reason why it had to be that way.
Sarven Capadisli
@csarven
Jul 15 2016 14:50
Ack.
Melvin Carvalho
@melvincarvalho
Jul 15 2016 14:52
ok I think thats the only example in the spec of a URI that doesnt have @id
Sarven Capadisli
@csarven
Jul 15 2016 14:53
Pushed commit.
Melvin Carvalho
@melvincarvalho
Jul 15 2016 14:53
nice! is there now