Skip to content

Commit

Permalink
Merge pull request #14 from rosano/patch-2
Browse files Browse the repository at this point in the history
Fix layout typo
  • Loading branch information
michielbdejong authored Dec 1, 2023
2 parents aa13b7d + a479a7b commit 17383e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bookmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
## RDF Class
There are several formats for bookmarks. All of them (so far) use `http://www.w3.org/2002/01/bookmark#Bookmark` as the RDF class.

## Link
### Link
The link a bookmarks points to can be stored in a number of ways:
* `<bookmark> <http://www.w3.org/2002/01/bookmark#recalls> <http://example.com>`
* `<bookmark> <http://www.w3.org/2002/01/bookmark#recalls> "http://example.com"`

## Label
### Label
The label of the bookmark can also be stored in a number of ways:
* `<bookmark> <http://www.w3.org/2000/01/rdf-schema#label> "Example Website"`
* `<bookmark> <http://purl.org/dc/terms/title#title> "Example Website"`

## Topic (optional)
### Topic (optional)
Apart from each having their own label, bookmarks can be organised by topic. There are a number of ways to store those:
* `<bookmark> <http://www.w3.org/2002/01/bookmark#hasTopic> "Birds"` ([Reza Soltani's Bookmarks app](https://github.com/soltanireza65/soukai-solid-app) use this)
* `<bookmark> <http://www.w3.org/2002/01/bookmark#hasTopic> <https://YOU.example.org/birds.ttl#Birds>`
Expand All @@ -28,15 +28,15 @@ In the latter case, the topic would be a `bookmark#Topic`, see [Jeff Zucker's do
a bk:topic ;
bk:subTopicOf <https://ME.example.org/animals.ttl#Animals> .
```
## Created (optional)
### Created (optional)
* `<bookmark> <http://purl.org/dc/terms/created> "2023-11-21T14:16:16Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .`

## Creator (optional)
### Creator (optional)
There are two ways to link to the creator of a bookmark:
* `<bookmark> <http://purl.org/dc/terms/creator> <https://michielbdejong.solidcommunity.net/profile/card#me> .`
* `<bookmark> <http://xmlns.com/foaf/0.1/maker> <https://michielbdejong.solidcommunity.net/profile/card#me> .`

# Primary Key (optional)
### Primary Key (optional)
Some apps add a unique identifier separate from the subject URI, like:
* `<bookmark> <http://www.w3.org/2002/01/bookmark#id> "b93d9944-d54d-42f6-a39b-6ea3f9217763" .`
* There is also the use of <http://purl.org/dc/terms/title#references> in [mark-book](https://github.com/mark-book/markbook/blob/123fadd211d9a42c43e2d9a5e7eeba81bb6b3fd6/bin/reddit.js#L32) but we're not entirely sure how that works.

0 comments on commit 17383e6

Please sign in to comment.