mirror of https://github.com/balkian/gists
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
212 B
Python
7 lines
212 B
Python
10 years ago
|
# -*- 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!"
|