Hi Diptendu,

you can try transforming it to SVG with this XSLT 2.0 stylesheet:
https://github.com/AtomGraph/Web-Client/blob/master/src/main/webapp/static/com/atomgraph/client/xsl/converters/RDFXML2SVG.xsl

You can execute it with this Saxon Docker image:
https://hub.docker.com/r/atomgraph/saxon


Martynas
atomgraph.com

On Sun, 8 Mar 2020 at 07.36, Diptendu Dutta <[email protected]>
wrote:

> I have used Jena to generate RDF/XML of the model:
>
> <rdf:RDF
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";>
>   <rdf:Description>
>     <rdf:subject rdf:parseType="Resource">
>       <rdfs:label>TheConsignor</rdfs:label>
>     </rdf:subject>
>     <rdf:predicate rdf:resource="
> http://www.lke.com/lke.owl#shall%20deliver
> "/>
>     <rdf:object rdf:parseType="Resource">
>       <rdfs:label>theConsignedUnits</rdfs:label>
>     </rdf:object>
>   </rdf:Description>
>   <rdf:Description>
>     <rdf:subject rdf:parseType="Resource">
>       <rdfs:label>rulesofinterpretation</rdfs:label>
>     </rdf:subject>
>     <rdf:predicate rdf:resource="http://www.lke.com/lke.owl#apply%20in"/>
>     <rdf:object rdf:parseType="Resource">
>       <rdfs:label>thisConsignmentAgreement</rdfs:label>
>     </rdf:object>
>   </rdf:Description>
> .
> .
> </rdf:RDF>
>
> Do I need to use some other format apart from RDF/XML so that
> the output my be be visualised in a browser?
>
> I looked at "cytoscape.js", Owl2Vowl, and some others. They all require
> the data to be in some specific format.
>
> Are there libraries available for  transforming the RDF/XML to a format
> suitable for display in browser?
>
> Which approach would you suggest?
>
> Regards,
>
> Diptendu Dutta
>
> Regards,
>
> Diptendu Dutta
>

Reply via email to