1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-21 09:12:29 +00:00
This commit is contained in:
J. Fernando Sánchez 2014-07-02 17:01:56 +02:00
commit 2f9b9334ff

7
testdflib.py Normal file
View File

@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
from rdflib import Graph, plugin
from rdflib.serializer import Serializer
import sys
g = Graph().parse(sys.argv[1], format='json-ld')
print "Hooray! It seems to be a valid json-ld file!"