TopBraid doesn't know at which URL its server can be accessed from the outside.
You would need to tell this to the application that creates the links, or store
such a URL as a property in EDG which your external app could then query. There
is for example a field "Explorer Configuration > Editor Server" where you could
enter the absolute base URL and query it as value of cfg:editorServer using
BIND (smf:configParam('editorServer') AS ?url)
The relative URL of the resource in its surrounding editor can be produced using
BIND (teamwork:editorLink(<urn:x-evn-master:northwind>, ?resource) AS
?link)
Concat both and you'd have a suitable URL for deep links.
HTH
Holger
> On 29 Mar 2023, at 10:34 pm, Tim Smith <[email protected]> wrote:
>
> Hi,
> I am using the EDG SPARQL endpoint to provide data to a graph visualization
> engine. Within that application, I would like for a user to be able to
> select a node or edge of the graph and click a link that will open the
> corresponding instance, etc... in EDG. Thus, part of the data I need to pull
> via the SPARQL endpoint is a "deep link" to the specific object. I want to
> be able to generate this link at runtime for everything in EDG. I cannot
> assert the link because EDG and Explorer run on different servers so there
> can be no hard-coding of server names, ports, etc...
>
> Is there a function in EDG that will create such a deep link? If not, what
> is the best way to get access to the server name, the port and graph for all
> classes, properties and intances? Here is an example deep link from the
> Northwind Data Asset example running in EDG Studio.
>
> http://localhost:8084/tbl/northwind.editor?resourceType=http%3A%2F%2Fedg.topbraid.solutions%2Fmodel%2FDataAsset#urn:x-evn-master:northwind%2FCOL_NORTHWIND.DBO%252EALPHABETICAL%2520LIST%2520OF%2520PRODUCTS.CATEGORYNAME
>
> <http://localhost:8084/tbl/northwind.editor?resourceType=http%3A%2F%2Fedg.topbraid.solutions%2Fmodel%2FDataAsset#urn:x-evn-master:northwind/COL_NORTHWIND.DBO%252EALPHABETICAL%2520LIST%2520OF%2520PRODUCTS.CATEGORYNAME>
>
> Thanks in advance for your help,
>
> Tim
>
> --
> The topics of this mailing list include TopBraid EDG and related technologies
> such as SHACL.
> To post to this group, send email to [email protected]
> ---
> You received this message because you are subscribed to the Google Groups
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/fe56d6f4-09e9-420c-9192-f49db96dfa2en%40googlegroups.com
>
> <https://groups.google.com/d/msgid/topbraid-users/fe56d6f4-09e9-420c-9192-f49db96dfa2en%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
The topics of this mailing list include TopBraid EDG and related technologies
such as SHACL.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google Groups
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/7E1A46F2-1856-45E6-98B7-FE3D75DA270F%40topquadrant.com.