Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

Close
Important Announcement: WELCOME to the new Schneider Electric Community! Community is now no longer part of Exchange, and is now rebranded under se.com. If you have any bookmarks and links saved, we request you to update them to ensure that you continue accessing our community from this new location. For any issues that you might encounter as part of this change, please reach out to SchneiderCommunity.Support@se.com, and the team will help to get your issues resolved.
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
82505members
350100posts

Smart Connector - Semantic tagging

SmartConnector Forum

Discussion of SmartConnector applications for integration of various other building management systems (BMS) into EcoStruxure Building Operation

Solved
esari
Lieutenant JG Lieutenant JG
Lieutenant JG

Smart Connector - Semantic tagging

Hello

 

I have create semantic tagging to EBO 2022. How can I accees it from Smart Connector?

 

I have found folder

{
"Name": "Ontology Graph",
"Description": "https://brickschema.org/schema/Brick#Class",
"Type": 3,
"ParentId": "00/eValvomo",
"Id": "40https://brickschema.org/schema/Brick#Class"
}

 

But I dont know what to do next.

 

If I understand correcly. Third party company could use semantic tagging structure to browse to point or trend log and they don't need to know actual SBO path. Is this correct?

 

--

Esa

 

Tags (1)

Accepted Solutions
ardak
Commander Commander
Commander
0 Likes
1
286

Re: Smart Connector - Semantic tagging

Semantic metadata needs to be enabled in EWS Server Configuration in EBO2022:

 

semantic enable.png

See Answer In Context

Tags (1)
5 Replies 5
ardak
Commander Commander
Commander
0 Likes
2
304

Re: Smart Connector - Semantic tagging

Hi Esa,

 

Semantic tagging in EBO is new and is a pretty big topic and there should be documentation out soon describing the EBO and EWS implementation, and the Smartconnector interface to the graph.

 

Smartconnectors interface to the graph is heavily dependent on the EWS implementation, which works like this:

 

You can navigate the graph by doing GetContainerItems calls on semantic nodes, denoted by the prefix "40". This call will return any relations that node has. That way you can navigate the graph and look for nodes that interest you. Those nodes can have relationships to EBO items, which you can fetch normally using normal GetItems calls using their EWS Id.

 

In SmartConnector GetContainerItems is used by GET/Containers/Children, so in your case a call to

 

GET/Containers/Children with Id "40https://brickschema.org/schema/Brick#Class"

 

would give you all nodes related to the base brick class and would be a good starting point.

 

You can also do the reverse using the "includeMetadata" query parameter on EBO objects. If an EBO object has a semantic relation connected to it, you will get it in the form of metadata connected to the object. There is also a new /Metadata endpoint on each enitity type where applicable if you are only interested in the semantic metadata of an EBO object. This way you can ask "What does this represent" type questions on EBO objects and if the point is tagget, you will know it's a "Supply temperature sensor" or whatever it is.

 

Hope this helps

Armend

 

Tags (1)
esari
Lieutenant JG Lieutenant JG
Lieutenant JG
0 Likes
1
296

Re: Smart Connector - Semantic tagging

Hello

 

 

I try to get children from that node, but I didn't receive anything. I got response:

 

{
"Message": "Container Id 40https://brickschema.org/schema/Brick#Class not found"
}

 

I have create Semantic 'Site' which has location 'Building' which have location 'Floor' which have 'Conference Room' which has point 'Temperature'.

 

Do I need to create some semantic 'root' object which can be found from "40https://brickschema.org/schema/Brick#Class" ?

 

--

Esa

 

Tags (1)
ardak
Commander Commander
Commander
0 Likes
0
293

Re: Smart Connector - Semantic tagging

Hi Esa, 

 

That should work if I'm not wrong. Are you URL encoding the ID? You can use this:

 

https://meyerweb.com/eric/tools/dencoder/

Tags (1)
ardak
Commander Commander
Commander
0 Likes
1
287

Re: Smart Connector - Semantic tagging

Semantic metadata needs to be enabled in EWS Server Configuration in EBO2022:

 

semantic enable.png

Tags (1)
esari
Lieutenant JG Lieutenant JG
Lieutenant JG

Re: Smart Connector - Semantic tagging

Hello

 

Yes.

It was that new EWS Server setting. After enabling that "Enable Semantics" settings I was able to get semantic tagging with GET Container Children from id "40https://brickschema.org/schema/Brick#Class".

 

--

Esa

Tags (1)