-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathChapterLUShape.ttl
More file actions
44 lines (44 loc) · 2.04 KB
/
Copy pathChapterLUShape.ttl
File metadata and controls
44 lines (44 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@prefix textbook: <https://w3id.org/jp-textbook/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix schema: <http://schema.org/>.
textbook:ChapterLUShape
rdf:type sh:NodeShape;
sh:property [
skos:example <textbook:小学校/2019/生活/108>;
sh:class textbook:Textbook;
sh:description "<code>textbook:<var>学校種別</var>/<var>検定年</var>/<var>教科書記号</var>/<var>教科書番号</var></code>として示される教科書リソースと関連付ける。"@ja, "Link to the textbook resource, represented as <code>textbook:curriculum/<var>type of school</var>/<var>authorized year</var>/<var>textbook symbol</var>/<var>textbook number</var></code>. "@en;
sh:maxCount 1;
sh:minCount 1;
sh:name "Textbook"@en, "教科書"@ja;
sh:order 1;
sh:path schema:isPartOf
], [
skos:example "p.24〜45";
sh:datatype xsd:string;
sh:maxCount 1;
sh:minCount 1;
sh:name "Page"@en, "ページ"@ja;
sh:order 2;
sh:path schema:pagination
], [
skos:example "0.25";
sh:datatype xsd:decimal;
sh:maxCount 1;
sh:name "Number Of Pages"@en, "ページ数"@ja;
sh:order 3;
sh:path schema:numberOfPages
];
sh:targetClass schema:Chapter.
textbook:TeachingUnitShape sh:property [
sh:class schema:Chapter;
sh:description "<code>schema:isPartOf</code>と<code>schema:pagination</code>の2つのプロパティを持つ。複数の教科書がある場合、繰り返される。"@ja, "Link to the blank node resource(s), which consist of properties <code>schema:isPartOf</code> and <code>schema:pagination</code>. If there are multiple textbooks, this property values are repeated according to the number of textbooks times."@en;
sh:minCount 1;
sh:name "Page of Textbook"@en, "教科書の該当ページ"@ja;
sh:node textbook:ChapterLUShape;
sh:nodeKind sh:BlankNode;
sh:order 11;
sh:path schema:workExample
].