Triply-Dev / YASGUI.YASR-deprecated

Deprecated, see https://github.com/TriplyDB/Yasgui for the Yasgui monorepo
MIT License
26 stars 22 forks source link

Suggestion: Consider fetchTitlesFromPreflabel for CONSTRUCT/DESCRIBE output #16

Closed jneubert closed 8 years ago

jneubert commented 9 years ago

Particularly in these results the display of a label at uri hover would be helpful.

LaurensRietveld commented 9 years ago

I'd like this. Here, we shouldnt have a problem with changing the content as well (which, in a table layout would influence the column/row positions heavily)

But: we'd need some proper parsers to do this. We'd need to fetch e.g. defined prefixes, to know what we are searching for.

So, this is dependent on issue #19 and #20

jneubert commented 9 years ago

Ah, I wasn't clear with my suggestion: I absolutely like the turtle output, because it groups things nicely, so tables probably would look worse. My - perhaps naive - idea was that, as you can recognize a URI syntactically for highlighting, it could be possible to attach the functionality to it.

LaurensRietveld commented 9 years ago

I understand: grabbing solely a complete URI in a blob of text and replacing it (on hover) with a label should be straight forward. The problem is mostly completeness (and perhaps avoiding false positives) For this to be as complete as possible we'd need to know the defined prefixes in the resultset. We could do this with a regex, but for robustness using a proper parser would be preferable.

And, the added advantage of using parsers is that we can visualize these construct results as a regular table as well

jneubert commented 9 years ago

Oh, I see - I didn't consider the prefixes.

Having both options for display would be nice, too. Hopefully, a fine table component turns out.

LaurensRietveld commented 8 years ago

Just cleaning up old issues. I'll close this one, because: