RDF triples rendering in WebUI

I really like the WebUI of Stardog, but the rendering for RDF triples, i.e. the result of CONSTRUCT queries (and probably also DESCRIBE queries could be improved. Currently, it's almost unreadable. I looked into the page rendering and it looks like a simple HTML <pre> or some CSS magic is missing as the String itself is already formatted:

Stardog: 5.0.2
Browser: Version 59.0.3071.109 (Developer Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)


Query:

CONSTRUCT {
  ?s ?p ?o 
} WHERE {
  ?s ?p ?o 
}

Output:


HTML Element:

<td>
@prefix : &lt;http://example.com/&gt; .
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
@prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt; .
@prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; .
@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .

    :rose :color :red ;
    	a :flower .

    :violet :color :blue .

    :flower rdfs:subClassOf :plant .

    :dogs :love :trucks .
</td>

Thanks for the feedback. We’re currently working on a new version of the web front end that does a better job of this.

Cheers,

Mike

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.