Skip to content

Commit

Permalink
Merge pull request #415 from crssnky/add_SchoolGrade
Browse files Browse the repository at this point in the history
学年の語彙の作成
  • Loading branch information
crssnky authored Jun 30, 2021
2 parents c6dee3e + aab93ee commit 456f7b7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions URIs/imas-schema.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,7 @@ imas:Whose a rdf:Property ;
imas:IdolListURL a rdf:Property ;
rdfs:comment "アイドル名鑑のアイドル毎URL";
rdfs:label "アイドル名鑑URL"@ja .

imas:SchoolGrade a rdf:Property ;
rdfs:comment "学年を表すプロパティ";
rdfs:label "学年"@ja .
31 changes: 31 additions & 0 deletions constrains/IdolShape.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -321,4 +321,35 @@ imas-shape:IdolShape a sh:NodeShape;
sh:languageIn ("en" "ja");
sh:maxCount 4;
];
sh:property [
rdfs:label "学年の制約";
rdfs:comment "学年は最大一つ持つ(判明していないアイドルもいるため、最小は0)";
sh:path imas:SchoolGrade;
sh:datatype rdf:langString;
sh:languageIn ("ja");
sh:maxCount 1;
sh:in (
"小学1年生"@ja
"小学2年生"@ja
"小学3年生"@ja
"小学4年生"@ja
"小学5年生"@ja
"小学6年生"@ja
"中学1年生"@ja
"中学2年生"@ja
"中学3年生"@ja
"高校1年生"@ja
"高校2年生"@ja
"高校3年生"@ja
"大学1年生"@ja
"大学2年生"@ja
"大学3年生"@ja
"大学4年生"@ja
"短大1年生"@ja
"短大2年生"@ja
"専門学校1年生"@ja
"専門学校2年生"@ja
"専門学校3年生"@ja
);
];
sh:closed false.

0 comments on commit 456f7b7

Please sign in to comment.