rklyne / python-graphite

Automatically exported from code.google.com/p/python-graphite
Other
0 stars 0 forks source link

URIs with spaces can be loaded from RDF/XML files. #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
URIs with spaces can't be saved to turtle and reloaded.

Using this data: http://data.dev8d.org/2012/programme/dev8d_programme.rdf

Specifically:
"""
<event:Event 
rdf:about="http://data.dev8d.org/2012/programme/event/EX0005"><prog:event_type 
rdf:resource="http://data.dev8d.org/2012/programme/type/Open 
sessions"/><dcterms:title>Response Web</dcterms:title><rdfs:label>Response 
Web</rdfs:label><event:time><tl:Interval><tl:start 
rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2012-02-14T16:30:00Z</t
l:start><tl:end 
rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2012-02-14T17:10:00Z</t
l:end></tl:Interval></event:time><event:place 
rdf:resource="http://data.dev8d.org/2012/programme/location/3A"/><foaf:page 
rdf:resource="http://data.dev8d.org/2012/programme/event/EX0005"/></event:Event>
"""

Saving this as Turtle and reloading it fails because of the space in the URI: 
"http://data.dev8d.org/2012/programme/type/Open sessions"

Original issue reported on code.google.com by rkl...@gmail.com on 15 Feb 2012 at 9:42

GoogleCodeExporter commented 9 years ago
The URI is definitely illegal.

Some kind of 'rdflint' tool maybe necessary here.

Original comment by rkl...@gmail.com on 15 Feb 2012 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by rkl...@gmail.com on 15 Feb 2012 at 5:46