I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.
-
I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.
Think of it as the AP/AS version of output from the `ls` command.
AP/AS has a whole bunch of stuff that can be used to represents files. Even sub-types of files
https://www.w3.org/TR/activitystreams-vocabulary/#object-types
And, while AP/AS has 'Collection' (and 'CollectionPage') —
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection
AP/AS doesn't have a 'Directory' type (as a sub-type of 'Collection')
-
I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.
Think of it as the AP/AS version of output from the `ls` command.
AP/AS has a whole bunch of stuff that can be used to represents files. Even sub-types of files
https://www.w3.org/TR/activitystreams-vocabulary/#object-types
And, while AP/AS has 'Collection' (and 'CollectionPage') —
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection
AP/AS doesn't have a 'Directory' type (as a sub-type of 'Collection')
@reiver Cool! Is this part of a larger project?
-
@reiver Cool! Is this part of a larger project?
Yes, I am creating a high performance read-only HTTP server for static files — that has built-in support for ActivityPub/ActivityStreams.
It also supports (the read operations of) WebDAV. So, it can be used as a shared read-only drive in operating-systems (OSes) that support WebDAV.
-
I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.
Think of it as the AP/AS version of output from the `ls` command.
AP/AS has a whole bunch of stuff that can be used to represents files. Even sub-types of files
https://www.w3.org/TR/activitystreams-vocabulary/#object-types
And, while AP/AS has 'Collection' (and 'CollectionPage') —
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection
AP/AS doesn't have a 'Directory' type (as a sub-type of 'Collection')
Today "ActivityStreams: Where do you want to go to today?" might be a slogan we borrowed from Microsoft.
The question is whether #ActivityStreams should be used - besides all the things it is already being used for - to also map to file systems.
The #LinkedData nature of #ActivityPub is generally shunned in favor of plain #JSON. That in itself is fine, as long as:
a) information still represents valid #JSONLD.
b) information models still follow data modeling best practices.
c) information models are designed with #interoperability in mind.
Not saying your approach is good or bad, just observing that everyone mapping and overloading their own app-specific semantics to the poor AS vocab looks to me a worst-practice. We can get away with it, as we made post-facto interop the poor man's accepted practice, lacking more rigorous extension process and guidance.
There are likely existing standardized ontologies.
-
Today "ActivityStreams: Where do you want to go to today?" might be a slogan we borrowed from Microsoft.
The question is whether #ActivityStreams should be used - besides all the things it is already being used for - to also map to file systems.
The #LinkedData nature of #ActivityPub is generally shunned in favor of plain #JSON. That in itself is fine, as long as:
a) information still represents valid #JSONLD.
b) information models still follow data modeling best practices.
c) information models are designed with #interoperability in mind.
Not saying your approach is good or bad, just observing that everyone mapping and overloading their own app-specific semantics to the poor AS vocab looks to me a worst-practice. We can get away with it, as we made post-facto interop the poor man's accepted practice, lacking more rigorous extension process and guidance.
There are likely existing standardized ontologies.
A quick 2 second search on file system #ontologies did not directly yield a great standard candidate, but it did return some interesting results on #SemanticFileSsystems.
Like this paper and #ontology design:
-
A quick 2 second search on file system #ontologies did not directly yield a great standard candidate, but it did return some interesting results on #SemanticFileSsystems.
Like this paper and #ontology design:
I agree that AP/AS has its limitations and shortcomings, but —
I want this to work with Fediverse software.
If I choose a Linked-Data namespace not supported by any Fediverse software, it won't be.
...
I don't mind adding additional namespaces — and given AP/AS is missing fields for some information I want to expose, I'll likely need to.
-
I am outputting ActivityPub/ActivityStreams content for the listing of what is in a directory.
Think of it as the AP/AS version of output from the `ls` command.
AP/AS has a whole bunch of stuff that can be used to represents files. Even sub-types of files
https://www.w3.org/TR/activitystreams-vocabulary/#object-types
And, while AP/AS has 'Collection' (and 'CollectionPage') —
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection
AP/AS doesn't have a 'Directory' type (as a sub-type of 'Collection')
This might be a misunderstanding.
Any property in ActivityPub can have multiple properties [except the few marked as 'functional'].
It does not need a special subtype.
If we have type ['CollectionPage', 'Collection', 'wd:Q201456'], it is a directory in a directory (?)
We have these nested structures in fedigeo anywhere, for example the UNESCO World Heritage or IATA Collection etc. We use wikidata (the data of wikipedia) so that anyone can use the label and infos for "directory" in any language … -
? Guest crossposted this topic to General Discussion
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login