mirror of
https://github.com/balkian/gists.git
synced 2024-11-22 01:32:29 +00:00
This commit is contained in:
commit
2f9b9334ff
7
testdflib.py
Normal file
7
testdflib.py
Normal 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!"
|
Loading…
Reference in New Issue
Block a user