@@ -12,95 +12,96 @@ PREFIX : <#>
1212
1313:ProfileShape a sh:NodeShape;
1414 dct:title " Profile shape" ;
15- :property
15+ sh :property
1616 [
17- :datatype xsd:string;
18- :name " his/hers/theirs..." ;
19- :path solid:preferredRelativePronoun ],
17+ sh :datatype xsd:string;
18+ sh :name " his/hers/theirs..." ;
19+ sh :path solid:preferredRelativePronoun ],
2020 [
21- :datatype xsd:string;
22- :name " him/her/them..." ;
23- :path solid:preferredObjectPronoun ],
21+ sh :datatype xsd:string;
22+ sh :name " him/her/them..." ;
23+ sh :path solid:preferredObjectPronoun ],
2424 [
25- :datatype xsd:string;
26- :name " he/she/they..." ;
27- :path solid:preferredSubjectPronoun ],
25+ sh :datatype xsd:string;
26+ sh :name " he/she/they..." ;
27+ sh :path solid:preferredSubjectPronoun ],
2828 [
29- :name " Involvement with Organization" ;
30- :node [
29+ sh :name " Involvement with Organization" ;
30+ sh :node [
3131 a sh:NodeShape;
32- :property [
33- :datatype xsd:string;
34- :name " Describe your role" ;
35- :path schema:description ],
32+ sh :property [
33+ sh :datatype xsd:string;
34+ sh :name " Describe your role" ;
35+ sh :path schema:description ],
3636 [
37- :name " Organization" @en ,
37+ sh :name " Organization" @en ,
3838 " Organization" @fr ;
39- :path org:organization ],
40- [
41- :name " occupation" ;
42- :path org:role ],
39+ sh:path org:organization ],
40+ [
41+ sh:datatype xsd:string;
42+ sh:name " Occupation" @en ;
43+ sh:or ( [ sh:path org:role ] [ sh:path vcard:role ] ) ],
4344 [
44- :datatype xsd:string;
45- :path vcard:role ] ];
46- :path [:inversePath org:member ] ],
45+ sh :datatype xsd:string;
46+ sh :path vcard:role ] ];
47+ sh :path [sh :inversePath org:member ] ],
4748 [
48- :name " Skills" ;
49- :node [
49+ sh :name " Skills" ;
50+ sh :node [
5051 a sh:NodeShape;
51- :property [
52- :name " skill" ;
53- :path solid:publicId ] ];
54- :path schema:skills ],
52+ sh :property [
53+ sh :name " skill" ;
54+ sh :path solid:publicId ] ];
55+ sh :path schema:skills ],
5556 [
56- :name " Languages" ;
57- :path schema:knowsLanguage;
58- :property [
59- :node [
57+ sh :name " Languages" ;
58+ sh :path schema:knowsLanguage;
59+ sh :property [
60+ sh :node [
6061 a sh:NodeShape;
61- :property [
62- :node [
62+ sh :property [
63+ sh :node [
6364 a sh:NodeShape;
64- :property [
65- :name " Language" ;
66- :path solid:publicId ] ];
67- :path (
65+ sh :property [
66+ sh :name " Language" ;
67+ sh :path solid:publicId ] ];
68+ sh :path (
6869 [
69- :zeroOrMorePath rdf:rest ]
70+ sh :zeroOrMorePath rdf:rest ]
7071 rdf:first ) ] ];
71- :path schema:knowsLanguage;
72- :targetClass rdf:Collection ] ],
72+ sh :path schema:knowsLanguage;
73+ sh :targetClass schema:Text, schema:Language ] ],
7374 [
74- :datatype xsd:string;
75- :name " Short name for chats, etc." @en ,
75+ sh :datatype xsd:string;
76+ sh :name " Short name for chats, etc." @en ,
7677 " surnom" @fr ;
77- :path foaf:nick ],
78+ sh :path foaf:nick ],
7879 [
79- :min 1 ;
80+ sh :min 1 ;
8081 sh:or (
8182[
82- :name " Set type" ;
83- :path rdf:type;
84- :targetValue schema:Person
83+ sh :name " Set type" ;
84+ sh :path rdf:type;
85+ sh :targetValue schema:Person
8586]
8687[
87- :name " Set type" ;
88- :path rdf:type;
89- :targetValue foaf:Person ]
88+ sh :name " Set type" ;
89+ sh :path rdf:type;
90+ sh :targetValue foaf:Person ]
9091[
91- :name " Set type" ;
92- :path rdf:type;
93- :targetValue vcard:Individual
92+ sh :name " Set type" ;
93+ sh :path rdf:type;
94+ sh :targetValue vcard:Individual
9495])],
9596 [
96- :name " Friends" ;
97- :path foaf:knows;
98- :targetClass foaf:Person ];
97+ sh :name " Friends" ;
98+ sh :path foaf:knows;
99+ sh:class foaf:Person ];
99100
100101 sh:property [
101102 sh:name " Mugshots" ;
102103 sh:path vcard:hasPhoto;
103- sh:targetClass dct:Image;
104+ sh:class dct:Image;
104105 ];
105106 sh:targetClass schema:Person,
106107 vcard:Individual,
0 commit comments