Retrieve Object Type RID from Resource List Widget

Using the Resource List Widget in Workshop, is there any way to retrieve the RID of the Object Type that’s selected. That would be rid prefixed with ri.ontology.main.object-type.?

The Resource List Type is set to Object Type

Hey Sean, you can do this through functions.

In the Resource List Widget you can output the selection as a variable. From there you can create another Function backed variable that takes in the resource list selection variable as a input.

From there you’ll have to create a function that takes in an unknown object set as an input and you can operate on that object set in functions to get the object type rid and return that rid.

What would the function signature look like for an object set of unknown object types

Ah apologies @sean- looked deeper into this and my mistake you can’t accept an Unknown Object Set in functions, making this not possible at the moment. Apologies for the confusion