<div dir="auto">I'm pretty familiar with building web interfaces in Perl, so if we could get the data in to a perl interpreter, I can export any number of pretty responsive and reactive web frameworks in real time.  I've spent a bit of time thinking about this particular problem.<div dir="auto"><br></div><div dir="auto">C.J.</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 6, 2021, 18:44 Alexandre Rademaker <<a href="mailto:arademaker@gmail.com">arademaker@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I want to understand the alternatives we have for presenting semantic and syntactic structures on a web page. This is part of our current effort to rewrite the WSI interface. The goal is to have something similar to the last version of WSI that I had access and I have it running with sample data at <a href="https://wsi.mybluemix.net/demo/" rel="noreferrer noreferrer" target="_blank">https://wsi.mybluemix.net/demo/</a>. <br>
<br>
This instance has MRS and EDS. I could not import DMRS, but I remember that I saw somewhere another instance of WSI exposing DMRS. Does anyone know where? <br>
<br>
Anyway, we already have a new WQL to SPARQL transformation in place, and now we are moving to the web interface part. The WSI code is quite complicated using a lot of javascript. I could not understand how the EDS/MRSs are transmitted from the Jean to the browser.<br>
<br>
But even if I ignore that and design a new strategy, I would like to reuse the alternatives available to present MRS, DMRS, and EDS in the browser. Besides the WSI interface, we have:<br>
<br>
1. <a href="http://chimpanzee.ling.washington.edu/demophin/erg/parse" rel="noreferrer noreferrer" target="_blank">http://chimpanzee.ling.washington.edu/demophin/erg/parse</a> displays only DMRS. Who is the author of the dmrs.js? The DMRSs are transformed into SVG… <br>
<br>
2. <a href="http://delph-in.github.io/delphin-viz/demo/" rel="noreferrer noreferrer" target="_blank">http://delph-in.github.io/delphin-viz/demo/</a>. It shows derivation trees, MRS and DRMSs. Uses <a href="https://github.com/delph-in/delphin-viz" rel="noreferrer noreferrer" target="_blank">https://github.com/delph-in/delphin-viz</a>, it is the state-of-the-art solution for displaying DELPH-IN structures? I didn't find documentation; how should my backend provide the data to allow this code to load/parse and display them on a page?<br>
<br>
3. <a href="http://erg.delph-in.net/logon" rel="noreferrer noreferrer" target="_blank">http://erg.delph-in.net/logon</a>. It shows trees (not the same as above), dm, MRS, EDS. The DM is not the DMRS… The tree, EDS, and MRS are HTML tables produced on the server-side by some code; the DM is transformed in SVG, but how? The backend is Lisp. I would love to understand all the loading steps of the logon scripts! I suppose it is using LKB with the ERG 1214, but the www bash script is almost impossible to read... anyway, for WSI, I don't need to call a parser but to retrieve the structures from an RDF triplestore and display them.<br>
<br>
Does anyone have any direction? It would help me a lot! <br>
<br>
Best,<br>
Alexandre<br>
<br>
<br>
</blockquote></div>