Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 7b15be2

Browse files
author
Matthias Böckmann
committed
Adding examples for deserialization
1 parent 9034559 commit 7b15be2

15 files changed

Lines changed: 3428 additions & 1 deletion

dataformat-jsonld/src/main/java/io/adminshell/aas/v3/dataformat/jsonld/Parser.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ private <T> T handleObject(Model inputModel, String objectUri, Class<T> targetCl
6060
ArrayList<Class<?>> implementingClasses = getImplementingClasses(targetClass);
6161

6262
//Get a list of all "rdf:type" statements in our model
63+
//In case of a blank node, the "object URI" will just be a string and no valid URI. In that case, we need a different query syntax
64+
try {
65+
new URI(objectUri).toURL();
66+
}
67+
catch (URISyntaxException | IllegalArgumentException e)
68+
{
69+
e.printStackTrace();
70+
}
6371
String queryString = "SELECT ?type { BIND(<" + objectUri + "> AS ?s). ?s a ?type . }";
6472
Query query = QueryFactory.create(queryString);
6573
QueryExecution queryExecution = QueryExecutionFactory.create(query, inputModel);

dataformat-jsonld/src/test/java/io/adminshell/aas/v3/model/dataformat/jsonld/ParserTest.java

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@
22

33
import io.adminshell.aas.v3.dataformat.DeserializationException;
44
import io.adminshell.aas.v3.dataformat.jsonld.Serializer;
5+
import io.adminshell.aas.v3.model.Asset;
6+
import io.adminshell.aas.v3.model.AssetAdministrationShell;
57
import io.adminshell.aas.v3.model.AssetAdministrationShellEnvironment;
8+
import io.adminshell.aas.v3.model.Reference;
69
import org.junit.Assert;
710
import org.junit.Test;
811

912
import java.io.IOException;
13+
import java.util.*;
1014

1115
public class ParserTest {
1216

1317
@Test
1418
public void parseAASEnvironmentTest() throws IOException, DeserializationException {
15-
String aasEnvAsString = SerializerUtil.readResourceToString("example.jsonld");
19+
String aasEnvAsString = SerializerUtil.readResourceToString("example-from-serializer.jsonld");
1620
AssetAdministrationShellEnvironment aasEnv = new Serializer().read(aasEnvAsString);
1721
Assert.assertEquals(1, aasEnv.getSubmodels().size());
1822
Assert.assertEquals(1, aasEnv.getAssetAdministrationShells().get(0).getDescriptions().size());
@@ -25,4 +29,39 @@ public void parseAASEnvironmentTest() throws IOException, DeserializationExcepti
2529

2630
}
2731

32+
@Test
33+
public void parseAllSchemaExamplesTest() throws IOException, DeserializationException {
34+
Serializer serializer = new Serializer();
35+
int errorCtr = 0;
36+
37+
Map<String, Class<?>> toBeParsed = new HashMap<>();
38+
toBeParsed.put(SerializerUtil.readResourceToString("AAS_Reference_shortExample.ttl"), AssetAdministrationShell.class);
39+
/*
40+
toBeParsed.put(SerializerUtil.readResourceToString("AAS_Reference_shortExample.nt"), Reference.class);
41+
toBeParsed.put(SerializerUtil.readResourceToString("Asset_Example.nt"), Asset.class);
42+
toBeParsed.put(SerializerUtil.readResourceToString("Asset_Example.ttl"), Asset.class);
43+
toBeParsed.put(SerializerUtil.readResourceToString("AssetAdministrationShell_Example.ttl"), AssetAdministrationShell.class);
44+
toBeParsed.put(SerializerUtil.readResourceToString("Complete_Example.ttl"), AssetAdministrationShell.class);
45+
toBeParsed.put(SerializerUtil.readResourceToString("KapitalVerwaltungsschaleExample.ttl"), Reference.class);
46+
toBeParsed.put(SerializerUtil.readResourceToString("Overall-Example.nt"), Reference.class);
47+
toBeParsed.put(SerializerUtil.readResourceToString("ReferenceExample.ttl"), Reference.class);
48+
toBeParsed.put(SerializerUtil.readResourceToString("Submodel_SubmodelElement_Example.ttl"), Reference.class);
49+
toBeParsed.put(SerializerUtil.readResourceToString("Submodel_SubmodelElement_shortExample.ttl"), Reference.class);
50+
toBeParsed.put(SerializerUtil.readResourceToString("Submodel_SubmodelElement_shortExample.nt"), Reference.class);
51+
*/
52+
53+
for(Map.Entry<String, Class<?>> elementToBeParsed : toBeParsed.entrySet())
54+
{
55+
try {
56+
serializer.deserialize(elementToBeParsed.getKey(), elementToBeParsed.getValue());
57+
}
58+
catch (IOException e)
59+
{
60+
errorCtr++;
61+
e.printStackTrace();
62+
}
63+
}
64+
Assert.assertEquals(0, errorCtr);
65+
}
66+
2867
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<http://customer.com/AAS_9175_7013_7091_9168> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell> .
2+
3+
<http://customer.com/AAS_9175_7013_7091_9168> <https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/assetInformation> _:genid1 .
4+
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/AssetInformation> .
5+
_:genid1 <https://admin-shell.io/aas/3/0/RC01/AssetInformation/globalAssetId> _:genid2 .
6+
_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Reference> .
7+
_:genid2 <https://admin-shell.io/aas/3/0/RC01/Reference/key> _:genid3 .
8+
_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Key> .
9+
_:genid3 <https://admin-shell.io/aas/3/0/RC01/Key/type> _:genid4 .
10+
_:genid4 <https://admin-shell.io/aas/3/0/RC01/Key/type> <https://admin-shell.io/aas/3/0/RC01/KeyElements> .
11+
_:genid4 <https://admin-shell.io/aas/3/0/RC01/Key/type> <https://admin-shell.io/aas/3/0/RC01/KeyElements/Asset> .
12+
_:genid3 <https://admin-shell.io/aas/3/0/RC01/Key/value> "http://customer.com/assets/KHBVZJSQKIY"^^<http://www.w3.org/2001/XMLSchema#string> .
13+
_:genid3 <https://admin-shell.io/aas/3/0/RC01/Key/idType> <https://admin-shell.io/aas/3/0/RC01/KeyType> .
14+
_:genid3 <https://admin-shell.io/aas/3/0/RC01/Key/idType> <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri> .
15+
<http://customer.com/asset_KHBVZJSQKIY> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Asset> .
16+
17+
<http://customer.com/AAS_9175_7013_7091_9168> <https://admin-shell.io/aas/3/0/RC01/Identifiable/identification> _:genid5 .
18+
_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Identifier> .
19+
_:genid5 <https://admin-shell.io/aas/3/0/RC01/Identifier/identifier> "http://customer.com/aas/9175_7013_7091_9168"^^<http://www.w3.org/2001/XMLSchema#string> .
20+
_:genid5 <https://admin-shell.io/aas/3/0/RC01/Identifier/idType> _:genid6 .
21+
_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/IdentifierType> .
22+
_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri> .
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
@prefix : <https://admin-shell.io/aas/3/0/RC01/> .
2+
@prefix aas: <https://admin-shell.io/aas/3/0/RC01/> .
3+
@prefix dash: <http://datashapes.org/dash#> .
4+
@prefix dc: <http://purl.org/dc/elements/1.1/> .
5+
@prefix dcterms: <http://purl.org/dc/terms/> .
6+
@prefix dul: <http://www.loa-cnr.it/ontologies/DUL.owl#> .
7+
@prefix foaf: <http://xmlns.com/foaf/spec/> .
8+
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
9+
@prefix om: <http://www.wurvoc.org/vocabularies/om-1.8/> .
10+
@prefix obda: <https://w3id.org/obda/vocabulary#> .
11+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
12+
@prefix prov: <http://www.w3.org/ns/prov#> .
13+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
14+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15+
@prefix ssn: <http://purl.oclc.org/NET/ssnx/ssn#> .
16+
@prefix sto: <https://w3id.org/i40/sto#> .
17+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
18+
@prefix vann: <http://purl.org/vocab/vann/> .
19+
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
20+
@prefix void: <http://rdfs.org/ns/void#> .
21+
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
22+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
23+
24+
25+
<http://customer.com/aas/9175_7013_7091_9168> rdf:type <https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell> ;
26+
<https://admin-shell.io/aas/3/0/RC01/Identifiable/identification> [
27+
a <https://admin-shell.io/aas/3/0/RC01/Identifier> ;
28+
<https://admin-shell.io/aas/3/0/RC01/Identifier/identifier> "http://customer.com/aas/9175_7013_7091_9168"^^xsd:string ;
29+
<https://admin-shell.io/aas/3/0/RC01/Identifier/idType> [
30+
a <https://admin-shell.io/aas/3/0/RC01/IdentifierType> , <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri>
31+
] ;
32+
] ;
33+
<https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/assetInformation> [
34+
a <https://admin-shell.io/aas/3/0/RC01/AssetInformation> ;
35+
<https://admin-shell.io/aas/3/0/RC01/AssetInformation/globalAssetId> [
36+
a <https://admin-shell.io/aas/3/0/RC01/Reference> ;
37+
<https://admin-shell.io/aas/3/0/RC01/Reference/key> [
38+
a <https://admin-shell.io/aas/3/0/RC01/Key> ;
39+
<https://admin-shell.io/aas/3/0/RC01/Key/type> [
40+
a <https://admin-shell.io/aas/3/0/RC01/KeyElements>, <https://admin-shell.io/aas/3/0/RC01/KeyElements/Asset>
41+
] ;
42+
<https://admin-shell.io/aas/3/0/RC01/Key/value> "http://customer.com/assets/KHBVZJSQKIY"^^xsd:string ;
43+
<https://admin-shell.io/aas/3/0/RC01/Key/idType> [
44+
a <https://admin-shell.io/aas/3/0/RC01/KeyType>, <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri>
45+
]
46+
]
47+
]
48+
]
49+
.
50+
<http://customer.com/assets/KHBVZJSQKIY>
51+
rdf:type <https://admin-shell.io/aas/3/0/RC01/Asset> ;
52+
<https://admin-shell.io/aas/3/0/RC01/Identifiable/identification> [
53+
a <https://admin-shell.io/aas/3/0/RC01/Identifier> ;
54+
<https://admin-shell.io/aas/3/0/RC01/Identifier/identifier> "http://customer.com/assets/KHBVZJSQKIY"^^xsd:string ;
55+
<https://admin-shell.io/aas/3/0/RC01/Identifier/idType> [
56+
a <https://admin-shell.io/aas/3/0/RC01/IdentifierType> , <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri>
57+
]
58+
]
59+
.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
@prefix aas: <http://admin-shell.io/aas/3/0/RC01/> .
2+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
3+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6+
7+
8+
9+
<http://customer.com/aas/9175_7013_7091_9168>
10+
rdf:type <https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell> ;
11+
<https://admin-shell.io/aas/3/0/RC01/Referable/idShort> "ExampleMotor"^^xsd:string ;
12+
rdfs:label "ExampleMotor"^^xsd:string ;
13+
<https://admin-shell.io/aas/3/0/RC01/Referable/description> "A very short description of the AAS instance.@en" ;
14+
rdfs:comment "A very short description of the AAS instance."^^xsd:string ;
15+
<https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/assetInformation> [
16+
a <https://admin-shell.io/aas/3/0/RC01/AssetInformation> ;
17+
<https://admin-shell.io/aas/3/0/RC01/AssetInformation/globalAssetId> [
18+
a <https://admin-shell.io/aas/3/0/RC01/Reference> ;
19+
<https://admin-shell.io/aas/3/0/RC01/Reference/key> [
20+
a <https://admin-shell.io/aas/3/0/RC01/Key> ;
21+
<https://admin-shell.io/aas/3/0/RC01/Key/type> [
22+
a <https://admin-shell.io/aas/3/0/RC01/KeyElements>, <https://admin-shell.io/aas/3/0/RC01/KeyElements/Asset>
23+
] ;
24+
<https://admin-shell.io/aas/3/0/RC01/Key/value> "http://customer.com/assets/KHBVZJSQKIY"^^xsd:string ;
25+
<https://admin-shell.io/aas/3/0/RC01/Key/idType> [
26+
a <https://admin-shell.io/aas/3/0/RC01/KeyType>, <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri>
27+
]
28+
]
29+
]
30+
] ;
31+
32+
<https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/submodel> [
33+
a <https://admin-shell.io/aas/3/0/RC01/Reference> ;
34+
<https://admin-shell.io/aas/3/0/RC01/Reference/key> [
35+
a <https://admin-shell.io/aas/3/0/RC01/Key> ;
36+
<https://admin-shell.io/aas/3/0/RC01/Key/type> [
37+
a <https://admin-shell.io/aas/3/0/RC01/KeyElements>, <https://admin-shell.io/aas/3/0/RC01/KeyElements/Submodel>
38+
] ;
39+
<https://admin-shell.io/aas/3/0/RC01/Key/value> "http://i40.customer.com/type/F13E8576F6488342"^^xsd:string ;
40+
<https://admin-shell.io/aas/3/0/RC01/Key/idType> [
41+
a <https://admin-shell.io/aas/3/0/RC01/KeyType>, <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri>
42+
]
43+
]
44+
];
45+
<https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/submodel> [
46+
a <https://admin-shell.io/aas/3/0/RC01/Reference> ;
47+
<https://admin-shell.io/aas/3/0/RC01/Reference/key> [
48+
a <https://admin-shell.io/aas/3/0/RC01/Key> ;
49+
<https://admin-shell.io/aas/3/0/RC01/Key/type> [
50+
a <https://admin-shell.io/aas/3/0/RC01/KeyElements>, <https://admin-shell.io/aas/3/0/RC01/KeyElements/Submodel>
51+
] ;
52+
<https://admin-shell.io/aas/3/0/RC01/Key/value> "http://i40.customer.com/type/7A7104BDAB57E184"^^xsd:string ;
53+
<https://admin-shell.io/aas/3/0/RC01/Key/idType> [
54+
a <https://admin-shell.io/aas/3/0/RC01/KeyType>, <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri>
55+
]
56+
]
57+
];
58+
<https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/submodel> [
59+
a <https://admin-shell.io/aas/3/0/RC01/Reference> ;
60+
<https://admin-shell.io/aas/3/0/RC01/Reference/key> [
61+
a <https://admin-shell.io/aas/3/0/RC01/Key> ;
62+
<https://admin-shell.io/aas/3/0/RC01/Key/type> [
63+
a <https://admin-shell.io/aas/3/0/RC01/KeyElements>, <https://admin-shell.io/aas/3/0/RC01/KeyElements/Submodel>
64+
] ;
65+
<https://admin-shell.io/aas/3/0/RC01/Key/value> "http://i40.customer.com/instance/AC69B1CB44F07935"^^xsd:string ;
66+
<https://admin-shell.io/aas/3/0/RC01/Key/idType> [
67+
a <https://admin-shell.io/aas/3/0/RC01/KeyType>, <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri>
68+
]
69+
]
70+
];
71+
<https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/submodel> [
72+
a <https://admin-shell.io/aas/3/0/RC01/Reference> ;
73+
<https://admin-shell.io/aas/3/0/RC01/Reference/key> [
74+
a <https://admin-shell.io/aas/3/0/RC01/Key> ;
75+
<https://admin-shell.io/aas/3/0/RC01/Key/type> [
76+
a <https://admin-shell.io/aas/3/0/RC01/KeyElements>, <https://admin-shell.io/aas/3/0/RC01/KeyElements/Submodel>
77+
] ;
78+
<https://admin-shell.io/aas/3/0/RC01/Key/value> "http://i40.customer.com/type/1A7B62B529F19152"^^xsd:string ;
79+
<https://admin-shell.io/aas/3/0/RC01/Key/idType> [
80+
a <https://admin-shell.io/aas/3/0/RC01/KeyType>, <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri>
81+
]
82+
]
83+
];
84+
<https://admin-shell.io/aas/3/0/RC01/Identifiable/identification> [
85+
a <https://admin-shell.io/aas/3/0/RC01/Identifier> ;
86+
<https://admin-shell.io/aas/3/0/RC01/Identifier/identifier> "http://customer.com/aas/9175_7013_7091_9168"^^xsd:string ;
87+
<https://admin-shell.io/aas/3/0/RC01/Identifier/idType> [
88+
a <https://admin-shell.io/aas/3/0/RC01/IdentifierType> , <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri>
89+
] ;
90+
] ;
91+
<https://admin-shell.io/aas/3/0/RC01/Referable/category> "CONSTANT"^^xsd:string .
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<http://customer.com/Asset:KHBVZJSQKIY> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Asset>.
2+
3+
<http://customer.com/Asset:KHBVZJSQKIY> <https://admin-shell.io/aas/3/0/RC01/Referable/idShort> "ServoDCMotor"^^<http://www.w3.org/2001/XMLSchema#string>.
4+
<http://customer.com/Asset:KHBVZJSQKIY> <http://www.w3.org/2000/01/rdf-schema#label> "ServoDCMotor"^^<http://www.w3.org/2001/XMLSchema#string>.
5+
6+
<http://customer.com/Asset:KHBVZJSQKIY> <https://admin-shell.io/aas/3/0/RC01/Identifiable/identification> _:genid1 .
7+
_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Identifier> .
8+
_:genid1 <https://admin-shell.io/aas/3/0/RC01/Identifier/identifier> "http://customer.com/Asset:KHBVZJSQKIY"^^<http://www.w3.org/2001/XMLSchema#string> .
9+
_:genid1 <https://admin-shell.io/aas/3/0/RC01/Identifier/idType> _:genid2 .
10+
_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/IdentifierType> .
11+
_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri> .
12+
13+
14+
<http://customer.com/Asset:KHBVZJSQKIY> <https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/submodel> _:genid3 .
15+
_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Reference> .
16+
_:genid3 <https://admin-shell.io/aas/3/0/RC01/Reference/key> _:genid4 .
17+
_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Key> .
18+
_:genid4 <https://admin-shell.io/aas/3/0/RC01/Key/type> <https://admin-shell.io/aas/3/0/RC01/KeyElements> .
19+
_:genid4 <https://admin-shell.io/aas/3/0/RC01/Key/type> <https://admin-shell.io/aas/3/0/RC01/KeyElements/Submodel> .
20+
_:genid3 <https://admin-shell.io/aas/3/0/RC01/Key/value> "http://i40.customer.com/type/1/1/F13E8576F6488342"^^<http://www.w3.org/2001/XMLSchema#string> .
21+
_:genid3 <https://admin-shell.io/aas/3/0/RC01/Key/idType> <https://admin-shell.io/aas/3/0/RC01/KeyType> .
22+
_:genid3 <https://admin-shell.io/aas/3/0/RC01/Key/idType> <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri> .
23+
24+
<http://customer.com/Asset:KHBVZJSQKIY> <https://admin-shell.io/aas/3/0/RC01/HasKind/kind> <https://admin-shell.io/aas/3/0/RC01/ModelingKind/Instance> .
25+
<http://i40.customer.com/Submodel:F13E8576F6488342> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://admin-shell.io/aas/3/0/RC01/Submodel>.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
@prefix aas: <http://admin-shell.io/aas/3/0/RC01/> .
2+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
3+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6+
7+
8+
<http://customer.com/assets/KHBVZJSQKIY>
9+
rdf:type <https://admin-shell.io/aas/3/0/RC01/Asset> ;
10+
<https://admin-shell.io/aas/3/0/RC01/Referable/idShort> "ServoDCMotor"^^xsd:string ;
11+
rdfs:label "ServoDCMotor"^^xsd:string ;
12+
<https://admin-shell.io/aas/3/0/RC01/Identifiable/identification> [
13+
a <https://admin-shell.io/aas/3/0/RC01/Identifier> ;
14+
<https://admin-shell.io/aas/3/0/RC01/Identifier/identifier> "http://customer.com/assets/KHBVZJSQKIY"^^xsd:string ;
15+
<https://admin-shell.io/aas/3/0/RC01/Identifier/idType> [
16+
a <https://admin-shell.io/aas/3/0/RC01/IdentifierType> , <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri>
17+
] ;
18+
] ;
19+
<https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/submodel> [
20+
a <https://admin-shell.io/aas/3/0/RC01/Reference> ;
21+
<https://admin-shell.io/aas/3/0/RC01/Reference/key> [
22+
a <https://admin-shell.io/aas/3/0/RC01/Key> ;
23+
<https://admin-shell.io/aas/3/0/RC01/Key/type> [
24+
a <https://admin-shell.io/aas/3/0/RC01/KeyElements>, <https://admin-shell.io/aas/3/0/RC01/KeyElements/Submodel>
25+
] ;
26+
<https://admin-shell.io/aas/3/0/RC01/Key/value> "http://i40.customer.com/type/1/1/F13E8576F6488342"^^xsd:string ;
27+
<https://admin-shell.io/aas/3/0/RC01/Key/idType> [
28+
a <https://admin-shell.io/aas/3/0/RC01/KeyType>, <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri>
29+
]
30+
]
31+
];
32+
<https://admin-shell.io/aas/3/0/RC01/HasKind/kind> <https://admin-shell.io/aas/3/0/RC01/ModelingKind/Instance>
33+
.

0 commit comments

Comments
 (0)