-
-
Save edsu/5757093 to your computer and use it in GitHub Desktop.
This file contains 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
.-(ed@prajna 09:57:59) ~ | |
`-->python | |
Python 2.7.2 (default, Oct 11 2012, 20:14:37) | |
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import rdflib | |
>>> g = rdflib.Graph() | |
>>> g.parse('http://www.bbc.co.uk/news/world-us-canada-22857062') | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/Library/Python/2.7/site-packages/rdflib/graph.py", line 1002, in parse | |
parser.parse(source, self, **args) | |
File "/Library/Python/2.7/site-packages/rdflib/plugins/parsers/structureddata.py", line 268, in parse | |
vocab_cache=vocab_cache) | |
File "/Library/Python/2.7/site-packages/rdflib/plugins/parsers/structureddata.py", line 148, in _process | |
_check_error(processor_graph) | |
File "/Library/Python/2.7/site-packages/rdflib/plugins/parsers/structureddata.py", line 57, in _check_error | |
raise Exception("RDFa parsing Error! %s" % msg) | |
Exception: RDFa parsing Error! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment