|
|
@@ -1,6 +1,8 @@
|
|
|
+// Vocabulary for the Xournal++ file format
|
|
|
vocabulary <http://flandersmake.be/cdf/vocabulary/xopp#> as xopp {
|
|
|
|
|
|
extends <http://flandersmake.be/cdf/vocabulary/object_diagram#> as object_diagram
|
|
|
+ extends <http://flandersmake.be/cdf/vocabulary/dict#> as dict
|
|
|
extends <http://www.w3.org/2001/XMLSchema#> as xsd
|
|
|
|
|
|
aspect element :> object_diagram:Object []
|
|
|
@@ -23,21 +25,9 @@ vocabulary <http://flandersmake.be/cdf/vocabulary/xopp#> as xopp {
|
|
|
inverse functional
|
|
|
]
|
|
|
|
|
|
- concept XMLAttribute :> element [
|
|
|
- restricts scalar property hasKey to exactly 1
|
|
|
- restricts scalar property hasValue to exactly 1
|
|
|
+ concept XMLAttribute :> element, dict:DictEntry [
|
|
|
restricts relation ofLayerElement to exactly 1
|
|
|
]
|
|
|
- scalar property hasKey :> object_diagram:hasField [
|
|
|
- domain XMLAttribute
|
|
|
- range xsd:string
|
|
|
- functional
|
|
|
- ]
|
|
|
- scalar property hasValue :> object_diagram:hasField [
|
|
|
- domain XMLAttribute
|
|
|
- range xsd:string
|
|
|
- functional
|
|
|
- ]
|
|
|
|
|
|
concept Text :> LayerElement []
|
|
|
concept Stroke :> LayerElement []
|
|
|
@@ -140,6 +130,7 @@ vocabulary <http://flandersmake.be/cdf/vocabulary/xopp#> as xopp {
|
|
|
inverse functional
|
|
|
]
|
|
|
|
|
|
+ // A Xournal++ file:
|
|
|
concept Model :> object_diagram:Model [
|
|
|
restricts all relation object_diagram:hasObject to element
|
|
|
]
|