RDFPlaygroundProject / RDFPlayground

A web interface for Linked Data courses, tailored for CC7220 "La Web de Datos" course at Universidad de Chile
Apache License 2.0
33 stars 3 forks source link

Re-using YATE ? #11

Open maximelefrancois86 opened 3 years ago

maximelefrancois86 commented 3 years ago

This is a pretty useful resource for teaching, thank you !

For the Turtle syntax coloring, automatic namespace addition, and autocompletion, Would you consider reusing YATE ?

https://perfectkb.github.io/yate/

aidhog commented 3 years ago

For sure! It would be fantastic to incorporate. And also YASGUI itself would be great for SPARQL.

Bastián is currently finishing up his undergrad thesis but we hope to continue extending and improving the tool with other students (or indeed if there are volunteers).

maximelefrancois86 commented 3 years ago

I would have loved to be of some help here, however I am afraid I don't know much about vue.js to be efficient. At least I can explain here what needs to be done on the html:

<script src="https://perfectkb.github.io/yate/dist/yate.bundled.min.js"></script>
<script src="https://perfectkb.github.io/yate/doc/doc.min.js"></script>
<script type="text/javascript">
var yate = YATE(document.getElementById("the_id_of_the_textarea"));
</script>
aidhog commented 3 years ago

That helps a lot, thanks!

I would say that this is a high priority in terms of possible short-term enhancements. I will try to find someone to work on this, but if not maybe I will try myself when I have the time. Might be fun to learn some Javascript. :)

BastyZ commented 3 years ago

It would be fantastic to incorporate YATE, although I developed the frontend on Vue.js I'm far from an expert, specially when it comes to webpack components.

The file where our text areas are defined is this one; I think this shouldn't be hard, but there's no way to know for sure until we give it a shot ! :D