Vocabulary for Various Logs
By Amy Guy; published: ; last modified:
Table of contents
This vocabulary describes various small activities I like to log as an extension to ActivityStreams 2.0. I would expect them to present to a reader in aggregate over some time period.
Notes about things considered when creating this vocabulary.
- Things are fairly arbitrarily added as I decide I want to add them to my site. Deliberately short and simple.
- These activities may not have
objects because all they are for is notifications of aggregate things.
If I've missed something PR/issue welcome on github.
Tracking everything I eat.
A consume activity. Subclass of as:Activity. The
objectshould be a list of URIs for foodstuffs, and the content should be a description thereof.
Tracking things I acquire, usually through purchasing or gifting.
An acquire activity. Subclass of as:Activity. The
objectshould be a list of URIs for things acquired, and the name should be a description thereof. The
contentshould be a description of what was acquired.
The cost of something acquired as a literal, possibly including currency.
The cost of something acquired in USD.
The cost of something acquired in EUR.
The cost of something acquired in GBP.
A sleep activity. Subclass of as:Activity. Should have a
duration, or both.
Motivated by using 750words and also wanting to track wordcounts for Nanowrimo and my thesis.
A write activity. Subclass of as:Activity. May have an
objectof the document being written.
The number of words being recorded.
This vocabulary is used by (and was initially developed for) my website, for storing my logs because I felt like it. Examples:
@prefix asext: <https://rhiaro.co.uk/terms/as#> @prefix as: <https://www.w3.org/ns/activitystreams#> <> a asext:Consume, as:Activity ; as:published "" ; as:actor <https://rhiaro.co.uk/#me> ; as:content "Banana" ; as:tag <https://rhiaro.co.uk/tags/fruit> .
If you start using it for something or publishing your own logs somewhere using this, let me know or PR to add yours here.