Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit ad1f89f

Browse files
committed
After discussion w andrei capturing spiit of our discussion i hope
removed some out of date studd
1 parent 458c08b commit ad1f89f

1 file changed

Lines changed: 113 additions & 17 deletions

File tree

discovery.md

Lines changed: 113 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,33 @@ The following describes discovery in the Solid framework using HTTP link followi
44

55
### Starting point -- WebID
66

7-
The starting point of Solid discovery is a [WebID](http://www.w3.org/2005/Incubator/webid/spec/identity/) user profile, which is a hash based URI, typically denoting a (FOAF) Agent. From this profile all of your storage can be found (discovery).
7+
##### Public Profile
8+
9+
The public profile is what you get when you look up someone's WebID directly.
10+
Strip off any hash and localid part. For example.
11+
12+
```
13+
https://example.databox.me/card#me -> https://example.databox.me/card
14+
```
15+
16+
17+
The starting point of Solid discovery is a [WebID](http://www.w3.org/2005/Incubator/webid/spec/identity/) user profile, which is a hash based URI, typically denoting a (FOAF) Agent. From this profile all of your storage can be found (discovery). The Profile typically contains public name and contact information about someone, and pointers to public data used by various apps.
18+
19+
#### Preferences File
20+
21+
* Starting Point: WebID
22+
* Property: [pim : preferencesFile](http://www.w3.org/ns/pim/space#preferencesFile)
23+
* Access: Private
24+
25+
```
26+
<#me> space:preferencesFile <settings/preferences.ttl>.
27+
```
28+
29+
30+
Preferences File is a private file that is linked from your WebID, and contains miscellaneous data not in your public profile.
31+
In general, the same triples will be put in your publuc
32+
33+
834

935
### Storage Discovery
1036

@@ -17,32 +43,102 @@ Storage is a root place to store files and data, which is used to create workspa
1743
* Public (everyone can see)
1844
* Personal (only the user can see)
1945
* Controlled (allows sharing)
46+
*
2047

21-
#### Workspaces
2248

23-
* Starting Point: WebID or preferencesFile
24-
* Type: [pim : workspace](http://www.w3.org/ns/pim/space#workspace)
49+
##### Public
50+
51+
This storage is a non-access controlled public space.
52+
Dev, do not assume that the ACL APIs will work here.
53+
User, know that you cannot control sharing here.
54+
This may be used to point to a peice of legacy storage such as WebDAV disk.
55+
56+
##### Private
57+
58+
Nothing in this space will be shown to anyone else. Access control may not be available.
59+
This may be a storage which is not connected to the net, and only available from one machine.
60+
61+
##### Controlled
62+
63+
A normal space, which allows Access Control using the solid standards.
64+
65+
#### Spaces
66+
67+
A space provides both a place (URI prefix) where to store stuff and a default ACL to give to things in it. You can have just open workspace in a storage, or you can have two, for example for your interactions with different communities, like home and work.
68+
A space is a bit like an account in some SNSs or a bit like a mounted (virtual) disk.
69+
70+
71+
* Where stored: WebID ie user's prubli profile, if public, or preferencesFile, if private
72+
* Predicate: (http://www.w3.org/ns/pim/space#workspace)
73+
74+
```
75+
<#me> space:workspace <#ws1>.
76+
```
2577

2678
Workspaces are where data is stored. There are various types of workspaces, which normally will have their own type. For example workspaces can be
27-
* Personal (only the user can see)
28-
* Private (only the user can see)
29-
* Shared (allows sharing)
30-
* Master (a workspace about other workspaces)
3179

32-
#### App Configuration Workspace
80+
Spaces have various special subclasses:
3381

34-
* Starting Point: WebID or preferencesFile
35-
* Type: [pim : workspace](http://www.w3.org/ns/pim/space#workspace)
82+
##### Master
3683

37-
The app configuration workspace is a container of many different app configurations. It is also possile to use the "glob * " function, for convenience, to get all configurations of various apps that are in use.
84+
App, do not offer this space to the user.
85+
It is used for example for a list of other workspaces.
3886

39-
#### Preferences File
4087

41-
* Starting Point: WebID
42-
* Type: [pim : preferencesFile](http://www.w3.org/ns/pim/space#preferencesFile)
43-
* Access: Private
88+
## App configuration
89+
90+
Three ytpes of registration
91+
92+
### RDF Type
93+
94+
A list of
95+
```
96+
<#me> space:TypeIndex <byType>.
97+
```
98+
And then in there thngs like
99+
```
100+
<#r1> a solid:TypeRegistration;
101+
solid:forClass vcard:addressBook;
102+
solid:instance </contacts/book#this>.
103+
104+
```
105+
### By application
106+
107+
A list of
108+
```
109+
<#me> space:AppIndex <byType>.
110+
```
111+
And then in there thngs like
112+
```
113+
<#r1> a solid:AppRegistration;
114+
solid:forApp ghld:app-shedule
115+
solid:instanceIndex </polls/list.ttl>.
116+
117+
```
118+
and then in </polls/list.ttl> things like
44119

45-
Preferences File is a private file that is linked from your WebID, and contains miscellaneous data not in your public profile.
120+
```
121+
TBD
122+
```
123+
124+
### Timeline
125+
126+
A timeline registration put things on a user's timeline for a given time.
127+
Do this if it useful for the user or others to find stuff that way.
128+
Can be public or private.
129+
130+
@@@ Melvin, what are the triples?
131+
132+
(Suggest the timeline triples are stored in files by month or month/day.)
133+
134+
135+
136+
#### App Configuration Workspace - OLD
137+
138+
* Starting Point: WebID or preferencesFile
139+
* Type: [pim : workspace](http://www.w3.org/ns/pim/space#workspace)
140+
141+
The app configuration workspace is a container of many different app configurations. It is also possile to use the "glob * " function, for convenience, to get all configurations of various apps that are in use.
46142

47143

48144
#### App configuration Files

0 commit comments

Comments
 (0)