1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-22 17:52:27 +00:00
gists/repos/f2336b4263cc7fa4db91/testdflib.py

7 lines
212 B
Python
Raw Normal View History

2014-07-02 15:01:56 +00:00
# -*- 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!"