|
@@ -1,17 +1,25 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
|
+ <head>
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <meta name="viewport" content="width=device-width, initialscale=1.0">
|
|
|
+ <title>IPERION-HS task 5.4 PARSER: CSV2RDF</title>
|
|
|
+ <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
|
|
|
+ <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
|
|
+ <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
|
|
+ </head>
|
|
|
<body>
|
|
|
-<h1>PARSER: da CSV a RDF</h1>
|
|
|
+<h1>IPERION-HS task 5.4 PARSER: CSV2RDF</h1>
|
|
|
<form method="POST" enctype = "multipart/form-data">
|
|
|
<div>
|
|
|
Carica un file CSV:
|
|
|
<fieldset>
|
|
|
<input type="file" id="FILE" name="FILE"><br/><br/>
|
|
|
</fieldset>
|
|
|
- <input type="submit" value="ALO'">
|
|
|
+ <input id="submitted" type="submit" value="Activate Transformation" >
|
|
|
</div>
|
|
|
<div>
|
|
|
- ... oppure inserisci manualmente i dati di un record:
|
|
|
+ ... or manually enter the data of a record:
|
|
|
<fieldset>
|
|
|
<legend>Record:</legend>
|
|
|
{% for entry in data: %}
|
|
@@ -22,9 +30,11 @@
|
|
|
</div>
|
|
|
</form>
|
|
|
|
|
|
-<p>Quande pigi "alò", questa robina di qualità trasforma l'in-put direttamente in RDF (TTL) passando dal parser!</p>
|
|
|
-<p>(Se viene uplodato un CSV poco bòno, questo sofisticato codice stianta)</p>
|
|
|
-
|
|
|
-
|
|
|
+<p>When you activate this tool, a customized script transforms the input directly into RDF (TTL) via the parser!</p>
|
|
|
+<script>
|
|
|
+ $("#submitted").click(function() {
|
|
|
+ alert("transformation carried out successfully");
|
|
|
+ });
|
|
|
+ </script>
|
|
|
</body>
|
|
|
</html>
|