@evan @trwnh if I have a Collection / OrderedCollection, and a set of Objects within that collection, with each Object being independently addressable, is there any property I can use to link from the Object to the Collection it is part of?
-
@evan @trwnh if I have a Collection / OrderedCollection, and a set of Objects within that collection, with each Object being independently addressable, is there any property I can use to link from the Object to the Collection it is part of?
I'd use `partOf` but it's limited to the Collection domain, so I can't use it for an Object (as far as I understand it)
Would this maybe be a use case for `context` *grimmacing*
Example forthcoming..
-
erincandescent@akko.erincandescent.netreplied to thisismissem@hachyderm.io last edited by
@thisismissem @evan @trwnh There isn’t a specific term and part of the reason is that an object can be (in fact usually is) a part of multiple collections
e.g. this post is going to be a part of my outbox collection, everyone who follows me’s inbox collections, and maybe a few people’s “liked posts” collections
-
thisismissem@hachyderm.ioreplied to erincandescent@akko.erincandescent.net last edited by
@erincandescent @evan @trwnh so my use case is for Labels & collections of Labels within the context of FediMod FIRES, here's my current draft of how a label dataset may look like in a more AS2 inspired form.
Though I'd like a way to say “hey this label on this server is part of this collection of labels” (it could be one or multiple), which would allow better dereferencing)
-
erincandescent@akko.erincandescent.netreplied to thisismissem@hachyderm.io last edited by
@thisismissem @evan @trwnh I think your best bet here would be to define an e.g.
https://fires.fedimod.org/ns#inLabelSet
propertyIf you really want to get all Fancy and LDP with your RDF you might then add something like
"ldp:isMemberOfRelation": {"@id": "https://fires.fedimod.org/ns#inLabelSet"}
to your collection but this is just sugar. -
trwnh@mastodon.socialreplied to thisismissem@hachyderm.io last edited by
@thisismissem @erincandescent @evan i'd say if the label exists in context of that collection, or is otherwise best considered within that context, then you can consider using as:context. but it probably shouldn't be used to signal generic membership in a collection. (context is defined in the english language as something meaningful that gives you a better understanding.) you'd probably want to define some kind of "itemOf" property which is the inverse relationship of "items".
-
erincandescent@akko.erincandescent.netreplied to trwnh@mastodon.social last edited by
@trwnh @thisismissem @evan I sometimes wish AP Collections were (a subset of) LDP Containers because they have a bunch of niceness to them but alas
-
dmitri@social.coopreplied to erincandescent@akko.erincandescent.net last edited by
@erincandescent @evan @thisismissem @trwnh So, that's a good point (that Objects can be part of multiple collections), but it still feels like AP Objects need a 'here's the _canonical_ parent Collection that hosts me' property for an object. A back-link to the Outbox collection or something.
-
trwnh@mastodon.socialreplied to erincandescent@akko.erincandescent.net last edited by
@erincandescent @evan @thisismissem if you squint really hard they are sort of the same thing just manipulated differently (RESTfully instead of with Add/Remove)
AS2-Core 4.6 "Collections" even describes them as "a container" (so conceptually there is some closeness)
i wonder if it's not too late to unify them somehow or otherwise lead them to convergence -- at least with Solid containers (which inherit directly from LDP iirc?) you have projects like ActivityPods that attempt something like it
-
thisismissem@hachyderm.ioreplied to trwnh@mastodon.social last edited by
@trwnh @erincandescent @evan hmm, okay, here was me hoping for a term that already existed — I’m really kinda wanting there to not be a https://fires.fedimod.org/ns if I can avoid it. I'm just not versed enough in json-ld / owl.
Hence thinking `partOf`, but yeah, a `itemOf` would make sense too!
-
thisismissem@hachyderm.ioreplied to thisismissem@hachyderm.io last edited by
@trwnh @erincandescent @evan I'm really looking at AS2 vocabulary / shapes here because it would ease the path towards making a label provider actually also an Actor, where we distribute Add/Remove activities for that collection.
-
trwnh@mastodon.socialreplied to erincandescent@akko.erincandescent.net last edited by
@erincandescent @evan @thisismissem i don’t think you can redefine iris like that in jsonld, basically anything with a colon in it is subject to expansion and cannot be defined as a term
-
erincandescent@akko.erincandescent.netreplied to trwnh@mastodon.social last edited by
@trwnh @evan @thisismissem Redefine IRIs?
"ldp:isMemberOfRelation": {"@id": "https://fires.fedimod.org/ns#inLabelSet"}
would be an actual collection property -
trwnh@mastodon.socialreplied to thisismissem@hachyderm.io last edited by
@thisismissem @erincandescent @evan this is giving echoes of the Web Annotation protocol vs actor discussion on github
i think you will inevitably end up having to define your own ns/vocab unless you find one that exists that already matches your problem space
-
thisismissem@hachyderm.ioreplied to erincandescent@akko.erincandescent.net last edited by
@erincandescent @trwnh @evan and this is the point at which I'm lost and have no idea what you're talking about
-
trwnh@mastodon.socialreplied to erincandescent@akko.erincandescent.net last edited by
@erincandescent @evan @thisismissem oh i must have misunderstood, i thought you meant putting that snippet in the jsonld context, not in the jsonld graph
-
trwnh@mastodon.socialreplied to thisismissem@hachyderm.io last edited by
@thisismissem @erincandescent @evan i think “isMemberOfRelation” might be declaring that every member of the collection is related to some subject by being “inLabelSet”
-
trwnh@mastodon.socialreplied to dmitri@social.coop last edited by
@dmitri @erincandescent @evan @thisismissem wdym "canonical collection"? define "canonical"
-
dmitri@social.coopreplied to trwnh@mastodon.social last edited by
@trwnh @erincandescent @evan @thisismissem I think I meant it in the rel="canonical" (https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls ) / POSSE sense.
-
trwnh@mastodon.socialreplied to dmitri@social.coop last edited by
@dmitri @erincandescent @evan @thisismissem "canonical" in that sense has to do with preferring a specific identifier, not membership in a collection... so i'm still confused lol
-
dmitri@social.coopreplied to trwnh@mastodon.social last edited by
@trwnh @erincandescent @evan @thisismissem The analogy I was trying to make with rel="canonical" is that I don't think of, say, a blog post, as an opaque identifier. I think of it as an item in my blog's Posts collection. But then I can also add it to some other publication, say Medium.com, to its collection of posts. But indicate that its canonical location/collection is back on my site, in the POSSE sense.