Skip to content

Commit 3051d36

Browse files
committed
Add notes
1 parent 3005e4d commit 3051d36

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

shapes/shex/as/Note.shex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
PREFIX : <>
2+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
3+
PREFIX as: <https://www.w3.org/ns/activitystreams#>
4+
5+
:Note {
6+
a [ as:Note ] ;
7+
as:content xsd:string
8+
}

shapes/trees/as/Note.ttl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
PREFIX : <>
2+
PREFIX st: <http://www.w3.org/ns/shapetrees#>
3+
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
4+
PREFIX as: <https://www.w3.org/ns/activitystreams#>
5+
6+
:Note
7+
a st:ShapeTree ;
8+
st:expectsType st:Resource ;
9+
st:shape <../../shex/as/Note> ;
10+
skos:prefLabel "Messages"@en, "Messages"@fr .

0 commit comments

Comments
 (0)