]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.graphfile.ontology/graph/graphfile.pgraph
Merge "(refs #7521) Added FunctionalRelation types to properties in graphfile"
[simantics/platform.git] / bundles / org.simantics.graphfile.ontology / graph / graphfile.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2
3
4 GF = <http://www.simantics.org/GraphFile-0.1> : L0.Ontology
5     @L0.new
6     L0.HasResourceClass "org.simantics.graphfile.ontology.GraphFileResource" : L0.String
7
8 GF.HasSystemResource <R L0.ConsistsOf
9    L0.InverseOf GF.PartOfSystemResource
10
11
12 GF.SystemResource <T L0.Entity
13
14 GF.File <T GF.SystemResource
15   @L0.singleProperty GF.HasFiledata
16   @L0.singleProperty GF.LastModified
17   
18 GF.Folder <T GF.SystemResource
19
20 GF.HasFiledata <R L0.HasProperty : L0.FunctionalRelation
21   L0.HasDomain GF.File
22   L0.HasRange L0.ByteArray
23
24 GF.LastModified <R L0.HasProperty : L0.FunctionalRelation
25   L0.HasDomain GF.File
26   L0.HasRange L0.Long
27   
28 GF.HasFolder <R GF.HasSystemResource
29    L0.HasDomain GF.Folder
30    L0.HasRange GF.Folder
31    
32 GF.HasFile <R GF.HasSystemResource
33    L0.HasDomain GF.Folder
34    L0.HasRange GF.File
35    
36 GF.HasResourceName <R L0.HasProperty : L0.FunctionalRelation
37    L0.HasDomain GF.SystemResource
38    L0.HasRange L0.String
39
40 GF.SystemPath <R L0.HasProperty : L0.FunctionalRelation
41    L0.HasDomain GF.SystemResource
42    L0.HasRange L0.String