-
Notifications
You must be signed in to change notification settings - Fork 1
MSceneObject RDF
Andre Antakli edited this page Sep 3, 2021
·
7 revisions
Basically, an MSceneObject Description resource from RDF type mosim:MSceneObject
(where mosim:
is the @prefix of http://www.ajan.de/mosim-ns#) has the following parameters:
Subjects:
- <MSceneObject> is a RDF Blank Node or a URI representing a CoSimulator Resource
- <Transform> is a RDF Blank Node representing a MSceneObject.Transform Resource
- <Collider> is a RDF Blank Node representing a MSceneObject.Collider Resource
- <Constraint> is a RDF Blank Node representing a MSceneObject.Costraint Resource
Namspaces:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@prefix mosim: <http://www.ajan.de/mosim-ns#>
RDF Structure: CoSimulator
Subject | Predicate | Object | Literal Description |
---|---|---|---|
<MSceneObject> | rdf:type | mosim:MSceneObject | |
<MSceneObject> | mosim:host | <xsd:string> | from MSceneObject.ID |
<MSceneObject> | mosim:port | <xsd:integer> | from MSceneObject.Name |
<MSceneObject> | mosim:eventType | <xsd:string> | Base64 encoded MSceneObject Representation |
Optional RDF Structure: MSceneObject.Properties:
Subject | Predicate | Object | Literal Description |
---|---|---|---|
<MSceneObject> | rdf:type | <URI> | Properties["type"]: http://www.dfki.de/mosim-ns + "type"-value |
<MSceneObject> | mosim:contains | <URI> | Properties["contains"]: tcp://host:port/{MSceneObject.ID} |
<MSceneObject> | mosim:initialLocation | <URI> | Properties["initialLocation"]: tcp://host:port/{MSceneObject.ID} |
<MSceneObject> | mosim:finalLocation | <URI> | Properties["finalLocation"]: tcp://host:port/{MSceneObject.ID} |
<MSceneObject> | mosim:isLocatedAt | <URI> | Properties["isLocatedAt"]: tcp://host:port/{MSceneObject.ID} |
<MSceneObject> | mosim:hasChild | <URI> | Properties["hasChildren"]: tcp://host:port/{MSceneObject.ID} |
<MSceneObject> | <URI> | <Literal> | Properties["RDF"]: additional RDF statements about this http://www.dfki.de/mosim-ns#This MSceneObject |
Optional RDF Structure: MSceneObject.Transfrom:
Subject | Predicate | Object | Literal Description |
---|---|---|---|
<MSceneObject> | mosim:transfrom | <Transform> | RDF Blank Node of Transform Resource |
<Transform> | rdf:type | mosim:MTransform | |
<Transform> | mosim:id | <xsd:string> | from MTransform.ID |
<Transform> | mosim:object | <xsd:string> | Base64 encoded MTransform Representation |
Optional RDF Structure: MSceneObject.Collider:
Subject | Predicate | Object | Literal Description |
---|---|---|---|
<MSceneObject> | mosim:collider | <Collider> | RDF Blank Node of Collider Resource |
<Collider> | rdf:type | mosim:MTransform | |
<Collider> | mosim:id | <xsd:string> | from MCollider.ID |
<Collider> | mosim:object | <xsd:string> | Base64 encoded MCollider Representation |
Optional RDF Structure: MSceneObject.Constraints:
Subject | Predicate | Object | Literal Description |
---|---|---|---|
<MSceneObject> | mosim:constraint | <Collider> | RDF Blank Node of Constraint Resource |
<Constraint> | rdf:type | mosim:MConstraint | |
<Constraint> | mosim:id | <xsd:string> | from MConstraint.ID |
<Constraint> | mosim:object | <xsd:string> | Base64 encoded MConstraint Representation |
@prefix mosim: <http://www.ajan.de/mosim-ns#> .
_:abce # MSceneObject Instance URI
rdf:type mosim:MSceneObject ;
mosim:id "12" ;
rdfs:label "Wrench" ;
mosim:object "asfninlnbafubbu324lbljnfoipn8824eo1oiri801..." ;
rdf:type <http://www.dfki.de/mosim-ns#Tool> ;
mosim:initialLocation <tcp://localhost:9009/14> ;
mosim:finalLocation <tcp://localhost:9009/15> ;
mosim:hasChild <tcp://localhost:9009/13> ;
test:angle 60 ; # Additional RDF based on RDF MSceneObject.Property["RDF"]
mosim:transfrom [
rdf:type mosim:MTransform ;
mosim:id "1" ;
mosim:object "asfafasffe4bl33333jnfoipn8824eo1oiri8035351..." ] ;
mosim:constraint [
rdf:type mosim:MConstraint ;
mosim:id "1" ;
mosim:object "lllll2342e4bl33333jnfoip556454577jfgh446hj4..." ] .