Skip to content

Fix inconsistencies in namespaces #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
236 changes: 235 additions & 1 deletion diagrams/SolidChatShapes.drawio

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion diagrams/SolidChatShapes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/chat-20.ttl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@prefix : <#>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix meeting: <http://www.w3.org/ns/pim/meeting#>.
@prefix sioc: <http://rdfs.org/sioc/ns#>.
@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix ch: <../25/chat.ttl#>.
@prefix n2: <../../../../../Person/timbl-54d26c98db8155e6700f7312%3Agitter.im/index.ttl#>.
Expand Down Expand Up @@ -64,7 +64,7 @@ B a reply to A""";
ch:DI0tRhwu8HMb_SXqeZi1JYZUq9qFdaFawQn7c63h5vE
sioc:has_reply :GVu4AdmzBFnQvuLRvX0e8wc6oNOPdV0ki_qcJjDdbzk.
n3:this
wf:message
meeting:message
:2Bw5IeK9IeHnVNtzkOgAovUFix49JaociYdTO6G-F3w,
:8a4hxwxSNaNTb5bv6oTCswcBNW7zvXc8inaoBWBM9Ro,
:bqp11ZmhhAGmwXLt8evvjyoI4Z8vs08agOqcdA0fy6A,
Expand Down
4 changes: 2 additions & 2 deletions examples/chat-25.ttl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@prefix : <#>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix meeting: <http://www.w3.org/ns/pim/meeting#>.
@prefix schema: <http://schema.org/>.
@prefix sioc: <http://rdfs.org/sioc/ns#>.
@prefix wf: <http://www.w3.org/2005/01/wf/flow#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix ch: <../20/chat.ttl#>.
@prefix n4: <../../../index.ttl#>.
Expand Down Expand Up @@ -80,7 +80,7 @@ Reply D to A1 edited""";
sioc:id <matrix:///e/xJXNxZXvuph1OdysyC0Is_9cX2IKmKgN5xxCbnWjW-k>;
foaf:maker ind:this.
n4:this
wf:message
meeting:message
:47vi3j5ixcwDTMYevX6VepZoq_DKhLlNaf4SR4mJmqQ,
:bNGquK6W8jCsnw1OPgjHl6GcHSvidMR9rD8nH1MjePs,
:DI0tRhwu8HMb_SXqeZi1JYZUq9qFdaFawQn7c63h5vE,
Expand Down
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ <h2 property="schema:name">Chat Message</h2>
<code>
:MessageShape a sh:NodeShape;
sh:targetClass schema:Message;
sh:targetObjectsOf meeeting:message; # No can be other things
sh:targetObjectsOf meeting:message; # No can be other things
sh:closed false ; # different message systems may have all kinds of metadata

sh:property [
Expand Down Expand Up @@ -1260,7 +1260,7 @@ <h2 property="schema:name">Threads and Replies</h2>
sioc:id <matrix:///e/HxuJZPg18me8iX8sB18Nb2Oo9ObJwMLS7GRoJUfDV_Y>;
foaf:maker ind:this.

n4:this wf:message
n4:this meeting:message
:HxuJZPg18me8iX8sB18Nb2Oo9ObJwMLS7GRoJUfDV_Y,
:YclVtjeT3mfFu-bD-XKbsKpRsaPaEW_7JCQVBEOCWvY.
</code>
Expand Down Expand Up @@ -1419,7 +1419,7 @@ <h2 property="schema:name">Deleted and Modified Messages</h2>
schema:dateDeleted "2023-08-24T13:27:57Z"^^xsd:dateTime;
foaf:maker c22:me.

n6:this wf:message :Msg1692883560076 .
n6:this meeting:message :Msg1692883560076 .
</code>
</pre>
</figure>
Expand Down Expand Up @@ -1535,21 +1535,21 @@ <h2 property="schema:name">Preferences</h2>

:this a meeting:LongChat;
dct:author c1:me;
dct:created "2018-07-06T21:36:04Z"^^XML:dateTime;
dct:created "2018-07-06T21:36:04Z"^^xsd:dateTime;
dct:title "Our Chat channel";

wf:participation
:id1530912972126, :id1538415256782, :id1538415459106 .

:id1530912972126
ic:dtstart "2018-07-06T21:36:12Z"^^XML:dateTime;
flow:participant c1:me;
cal:dtstart "2018-07-06T21:36:12Z"^^xsd:dateTime;
wf:participant c1:me;
solid:expandImagesInline true;
ui:backgroundColor "#c1d0c8".

:id1538415256782
ic:dtstart "2018-07-07T11:16:12Z"^^XML:dateTime;
flow:participant c2:me;
cal:dtstart "2018-07-07T11:16:12Z"^^xsd:dateTime;
wf:participant c2:me;
solid:expandImagesInline false;
ui:backgroundColor "#ffccdd".

Expand Down
13 changes: 7 additions & 6 deletions shapes/chat-shapes.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# Domain ontologies

@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
Expand All @@ -26,7 +27,7 @@
:LongChatShape
a sh:NodeShape ;
sh:targetClass meeting:LongChat ;
sh: targetSubjectsOf meeeting:message;
sh: targetSubjectsOf meeting:message;
sh:closed false ;
sh:ignoredProperties ();
sh:property [
Expand All @@ -45,7 +46,7 @@ sh:property [
[ sh:path ui:sharedPreferences ;
sh:count 1 ],

[ sh:path flow:participation ;
[ sh:path wf:participation ;
sh:minCount 0 ] ,

[ sh:path dc:author ;
Expand All @@ -56,7 +57,7 @@ sh:property [

:MessageShape a sh:NodeShape;
sh:targetClass schema:Message;
sh: targetObjectsOf meeeting:message; # No can be other things
sh: targetObjectsOf meeting:message; # No can be other things

sh:closed false ; # different message systems may have all kinds of metadata

Expand Down Expand Up @@ -179,16 +180,16 @@ sh:property [
################ Participation objects

:ParticpationShape a sh:NodeShape;
sh:targetObjectsOf flow:participation;
sh:targetObjectsOf wf:participation;

sh:property [
sh:path ical:dtstart;
sh:path cal:dtstart;
sh:datatype xsd:dateTime;
sh:count 1;
];

sh:property [
sh:path flow:participant;
sh:path wf:participant;
sh:count 1;
];

Expand Down