Created
August 23, 2015 12:55
-
-
Save bergos/aeb8833f39f0049890d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rdf = require('rdf-ext')(); | |
var turtleString = '' + | |
'@base <http://example.org/> .' + | |
'@prefix s: <http://schema.example.org/> .' + | |
'<me> s:owns ( <Apple> <Orange>).'; | |
rdf.parseTurtle(turtleString, function (graph) { | |
console.log(graph.toString()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment