Created
          July 2, 2014 15:01 
        
      - 
      
- 
        Save balkian/f2336b4263cc7fa4db91 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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
    
  
  
    
  | # -*- 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!" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment