zazuko / vscode-sparql-notebook

Visual Studio Code SPARQL Notebook Extension
https://marketplace.visualstudio.com/items?itemName=Zazuko.sparql-notebook
Other
26 stars 8 forks source link

Prefix longest match #32

Closed BenjaminHofstetter closed 1 year ago

BenjaminHofstetter commented 1 year ago

In a SPARQL select result the notebook uses prefixes to show a shorter more readable output. But it's using the first match and not the longest match.

PREFIX foo: <http://example.org/foo/>
PREFIX bar: <http://example.org/foo/bar/>

<http://example.org/foo/bar/Person>
# Leads to ...
foo:bar/Person
BenjaminHofstetter commented 1 year ago

moved to issue #51