Re: [topbraid-users] SPARQL Query for distance between nodes

2024-02-20 Thread Holger Knublauch
> On 20 Feb 2024, at 6:11 pm, Marie Valadez wrote: > > Thank Holger. > > Is there a way to return a count with this that shows the distance? Sure. The function returns a ?path string with one space between path segments. You can use BIND (REPLACE(?path, "[^ ]", "") AS ?spaces) . BI

Re: [topbraid-users] SPARQL Query for distance between nodes

2024-02-20 Thread Marie Valadez
Thank Holger. Is there a way to return a count with this that shows the distance? On Monday, February 19, 2024 at 12:37:20 AM UTC-7 Holger Knublauch wrote: > Yes, g:Europe is the end node and is optional. If no end node is > specified, it will stop at whenever a node doesn't have further value