]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scenegraph.ontology/graph/Scenegraph.pgraph
Fixed org.antlr.runtime inclusion in dev.simupedia.com target definition
[simantics/platform.git] / bundles / org.simantics.scenegraph.ontology / graph / Scenegraph.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2
3 Scenegraph = <http://www.simantics.org/Scenegraph-1.1> : L0.Ontology
4     @L0.new
5     L0.HasResourceClass "org.simantics.scenegraph.ontology.ScenegraphResources"
6
7 Scenegraph.Node <T L0.Entity
8   >-- Scenegraph.Node.HasProperty --> L0.Value <R L0.HasProperty
9   >-- Scenegraph.Node.children --> L0.Value <R L0.HasProperty : L0.FunctionalRelation
10     L0.RequiresValueType "[Resource]"
11   
12 Scenegraph.userProperty <R L0.HasProperty : L0.FunctionalRelation
13
14 Scenegraph.Functions : L0.Library
15
16 Scenegraph.LiftedPropertyRelation <T L0.FunctionalRelation
17     @L0.assert Scenegraph.userProperty true
18
19 Scenegraph.LiftedProperty <T L0.Value
20     @L0.assert 
21         L0.ConvertsToValueWith 
22         Scenegraph.Functions.liftedProperty : L0.ExternalValue
23 Scenegraph.LiftedProperty.HasPredicate <R L0.DependsOn : L0.FunctionalRelation
24
25 Scenegraph.lifted : L0.Template
26     @template %object %predicate
27         %object : Scenegraph.LiftedProperty 
28             Scenegraph.LiftedProperty.HasPredicate %predicate
29
30   
31   
32 Scenegraph.Runtime <T L0.Entity
33   >-- Scenegraph.Runtime.variable --> L0.Value <R L0.HasProperty : L0.FunctionalRelation
34   >-- Scenegraph.Runtime.resource --> L0.Value <R L0.HasProperty : L0.FunctionalRelation
35   @L0.assert Scenegraph.Runtime.variable
36     Scenegraph.Functions.defaultRuntimeVariable : L0.Function
37   @L0.assert Scenegraph.Runtime.resource
38     Scenegraph.Functions.defaultRuntimeResource : L0.Function
39     
40 Scenegraph.Runtime.HasVariable <R L0.DependsOn
41 Scenegraph.Runtime.HasResource <R L0.DependsOn
42
43   
44 Scenegraph.Functions.singleVariableSelection : L0.Function