@@ -21,7 +21,7 @@ prefix func: <urn:bamm:io.openmanufacturing:function:2.0.0#>
21
21
# for the implementation of the Property itself, which is then linked to the used Characteristic
22
22
construct {
23
23
?edge1 a :Edge .
24
- ?edge1 :title ?title .
24
+ ?edge1 :title " property " .
25
25
?edge1 :from ?entityBox .
26
26
?edge1 :to ?box .
27
27
@@ -67,59 +67,4 @@ construct {
67
67
bind( concat( ?characteristicName , " Characteristic" ) as ?characteristicBoxName )
68
68
bind( iri( concat( str( : ), ?characteristicBoxName ) ) as ?characteristicBox )
69
69
bind( iri( concat( str( : ), ?boxName , " _To_" , ?characteristicBoxName ) ) as ?edge2 )
70
- bind( " property" as ?title )
71
-
72
- # optional {
73
- # ?entity bamm:properties/rdf:rest*/rdf:first ?propertyNode .
74
- # ?propertyNode bamm:extends ?property .
75
- # ?propertyNode bamm:characteristic ?characteristic .
76
- # ?propertyNode bamm:optional true .
77
- # ?propertyNode bamm:payloadName ?payloadName .
78
- # bind( func:getElementName( ?characteristic ) as ?characteristicName )
79
- # bind( concat( ?characteristicName, "Characteristic" ) as ?characteristicBoxName )
80
- # bind( iri( concat( str( : ), ?boxName, "_To_", ?characteristicBoxName ) ) as ?edge2 )
81
- # bind( concat( " (optional) (", str( ?payloadName ), ")" ) as ?title )
82
- # }
83
-
84
- # optional {
85
- # ?entity bamm:properties/rdf:rest*/rdf:first ?propertyNode .
86
- # ?propertyNode bamm:extends ?property .
87
- # ?propertyNode bamm:characteristic ?characteristic .
88
- # ?propertyNode bamm:optional true .
89
- # bind( func:getElementName( ?characteristic ) as ?characteristicName )
90
- # bind( concat( ?characteristicName, "Characteristic" ) as ?characteristicBoxName )
91
- # bind( iri( concat( str( : ), ?boxName, "_To_", ?characteristicBoxName ) ) as ?edge2 )
92
- # bind( "property (optional)" as ?title )
93
- # }
94
-
95
- # optional {
96
- # ?entity bamm:properties/rdf:rest*/rdf:first ?propertyNode .
97
- # ?propertyNode bamm:extends ?property .
98
- # ?propertyNode bamm:characteristic ?characteristic .
99
- # ?propertyNode bamm:notInPayload true .
100
- # bind( func:getElementName( ?characteristic ) as ?characteristicName )
101
- # bind( concat( ?characteristicName, "Characteristic" ) as ?characteristicBoxName )
102
- # bind( iri( concat( str( : ), ?boxName, "_To_", ?characteristicBoxName ) ) as ?edge2 )
103
- # bind( "property (not in payload)" as ?title )
104
- # }
105
-
106
- # optional {
107
- # ?entity bamm:properties/rdf:rest*/rdf:first ?propertyNode .
108
- # ?propertyNode bamm:extends ?property .
109
- # ?propertyNode bamm:characteristic ?characteristic .
110
- # ?propertyNode bamm:payloadName ?payloadName
111
- # bind( func:getElementName( ?characteristic ) as ?characteristicName )
112
- # bind( concat( ?characteristicName, "Characteristic" ) as ?characteristicBoxName )
113
- # bind( iri( concat( str( : ), ?boxName, "_To_", ?characteristicBoxName ) ) as ?edge2 )
114
- # bind( concat( "property (", str( ?payloadName ), ")" ) as ?title )
115
- # }
116
-
117
- # optional {
118
- # ?entity bamm:properties/rdf:rest*/rdf:first ?propertyNode .
119
- # ?propertyNode bamm:characteristic ?characteristic .
120
- # bind( "property" as ?title )
121
- # bind( func:getElementName( ?characteristic ) as ?characteristicName )
122
- # bind( concat( ?characteristicName, "Characteristic" ) as ?characteristicBoxName )
123
- # bind( iri( concat( str( : ), ?boxName, "_To_", ?characteristicBoxName ) ) as ?edge2 )
124
- # }
125
70
}
0 commit comments