Skip to content

Commit 99df2de

Browse files
committed
Pull some author properties from 'masterclass' slide
1 parent 089358b commit 99df2de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

TUTORIALS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ The definition of the model is very similar to that of the book. Add the followi
131131
```lisp
132132
(define-resource author ()
133133
:class (s-prefix "schema:Author")
134-
:properties `((:name :string ,(s-prefix "schema:name")))
134+
:properties `((:name :string ,(s-prefix "schema:name"))
135+
(:given-name :string ,(s-prefix "foaf:givenName"))
136+
(:family-name :string ,(s-prefix "foaf:familyName")))
135137
:resource-base (s-url "http://mu.semte.ch/services/github/madnificent/book-service/authors/")
136138
:on-path "authors")
137139
```

0 commit comments

Comments
 (0)