Skip to content

Commit 477823c

Browse files
committed
Updated dependency on srdf and bumped to 0.2.33
1 parent 3462f7c commit 477823c

File tree

8 files changed

+92
-5
lines changed

8 files changed

+92
-5
lines changed

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lazy val supportedScalaVersions = List(
99

1010
val Java11 = JavaSpec.temurin("11")
1111

12-
lazy val srdfVersion = "0.1.122"
12+
lazy val srdfVersion = "0.1.125"
1313
lazy val utilsVersion = "0.2.25"
1414
lazy val documentVersion = "0.0.34"
1515

examples/extends/figures.shex

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
prefix : <http://example.org/>
2+
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
3+
prefix schema: <http://schema.org/>
4+
5+
abstract <Figure> {
6+
:component @<Label>
7+
}
8+
9+
<Label> {
10+
:type [ :Label ] ;
11+
:value xsd:string ;
12+
}
13+
14+
<Figure2D> extends @<Figure> {
15+
:component @<PosX> ;
16+
:component @<PosY>
17+
}
18+
19+
<PosX> {
20+
:type [ :Coord ] ;
21+
:axis [ :X ] ;
22+
:value xsd:integer
23+
}
24+
25+
<PosY> {
26+
:type [ :Coord ] ;
27+
:axis [ :Y ] ;
28+
:value xsd:integer
29+
}
30+
31+
<ColoredFigure> extends @<Figure> {
32+
:component @<Color>
33+
}
34+
35+
<Color> {
36+
:type [ :Color ];
37+
:value [:Red :Green :Blue ]
38+
}
39+
40+
<CenteredFigure> @<Figure2D> AND {
41+
:component @<PosX> AND { :value [ 0 ]};
42+
:component @<PosY> AND { :value [ 0 ]};
43+
:component . *
44+
}
45+
46+
<Circle> extends @<Figure2D> extends @<ColoredFigure> {
47+
:radius xsd:integer
48+
}

examples/extends/figures.sm

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# :origin@<Figure2D>,
2+
# :bad1@<Figure2D>,
3+
# :redCircle@<ColoredFigure>,
4+
# :origin@<CenteredFigure>
5+
:01@<CenteredFigure>

examples/extends/figures.ttl

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
prefix : <http://example.org/>
2+
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
3+
4+
:origin :component
5+
[ :type :Label; :value "Origin" ] ,
6+
[ :type :Coord; :value 0; :axis :X ] ,
7+
[ :type :Coord; :value 0; :axis :Y ] .
8+
9+
:01 :component
10+
[ :type :Label; :value "Origin" ] ,
11+
[ :type :Coord; :value 0; :axis :X ] ,
12+
[ :type :Coord; :value 1; :axis :Y ] .
13+
14+
:bad1 :component
15+
[ :type :Label; :value "Origin" ] ,
16+
[ :type :Coord; :value 0; :axis :X ] ,
17+
[ :type :Coord; :value 1; :axis :X ] ,
18+
[ :type :Coord; :value 0; :axis :Y ] .
19+
20+
:bad2 :component
21+
[ :type :Label; :value "Unspecified" ] .
22+
23+
:redCircle :component
24+
[ :type :Label; :value "Red circle" ] ,
25+
[ :type :Coord; :value 3; :axis :X ] ,
26+
[ :type :Coord; :value 4; :axis :Y ] ,
27+
[ :type :Color; :value :Red ] ;
28+
:radius 4 .

project/metals.sbt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// format: off
12
// DO NOT EDIT! This file is auto-generated.
23

34
// This file enables sbt-bloop to create bloop config files.
45

5-
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.6")
6+
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.17")
67

8+
// format: on

project/project/metals.sbt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// format: off
12
// DO NOT EDIT! This file is auto-generated.
23

34
// This file enables sbt-bloop to create bloop config files.
45

5-
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.6")
6+
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.17")
67

8+
// format: on

project/project/project/metals.sbt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// format: off
12
// DO NOT EDIT! This file is auto-generated.
23

34
// This file enables sbt-bloop to create bloop config files.
45

5-
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.6")
6+
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.17")
67

8+
// format: on

version.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ThisBuild / version := "0.2.32"
1+
ThisBuild / version := "0.2.33"

0 commit comments

Comments
 (0)