IDLabResearch / TurtleValidator

A Turtle validator on command line and in browser

Home Page:http://ttl.summerofcode.be

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Turtle validator on command line and in browser

http://ttl.summerofcode.be

License:MIT License


Languages

Language:JavaScript 99.1%Language:CSS 0.4%Language:HTML 0.4%