Online text editor with Turtle syntax highlighting and validation. https://felixlohmeier.github.io/turtle-web-editor/
Go to file
Miel Vander Sande b1df716e69 Added different statuscodes & dev server 2019-01-10 12:43:45 +01:00
lib Updated N3.js 2018-06-14 13:19:16 +02:00
public Added different statuscodes & dev server 2019-01-10 12:43:45 +01:00
.gitignore Ignore ttl.js. 2016-11-29 11:27:36 +01:00
LICENSE Update affiliation, add LICENSE. 2016-11-29 11:06:12 +01:00
README.md Added different statuscodes & dev server 2019-01-10 12:43:45 +01:00
TurtleValidator.js Added different statuscodes & dev server 2019-01-10 12:43:45 +01:00
package-lock.json Added different statuscodes & dev server 2019-01-10 12:43:45 +01:00
package.json Added different statuscodes & dev server 2019-01-10 12:43:45 +01:00

README.md

TurtleValidator

RDF NTriples/Turtle validator using Ruben Verborgh's N3 NodeJS library. Validate Turtle and Ntriples documents on syntax and XSD datatype errors through command line.

© 2014, 2015 - IDLab - Ghent University - imec Source code: https://github.com/MMLab/TurtleValidator

Install:

npm install -g turtle-validator

Examples:

$ ttl <path-to-file ...>
$ curl http://data.linkeddatafragments.org/dbpedia -H "accept: text/turtle" | ttl
$ ttl http://triples.demo.thedatatank.com/demo.ttl

Or install the browser client

# Equivalent to: npm build
npm install
browserify lib/validator.js -o public/js/ttl.js

Then use it in your browser using the index.html in the public folder. You can run this locally as follows.

# Equivalent to: npm start
npm install
browserify lib/validator.js -o public/js/ttl.js
ws