History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-716
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Arjohn Kampman
Reporter: macarse
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Sesame

If rdf:ID is uploaded to a a repository when exporting I get rdf:about

Created: 03/Jul/10 12:41 AM   Updated: 04/Jul/10 08:49 PM
Component/s: None
Affects Version/s: 2.3.1
Fix Version/s: None

Environment: Linux Debian


 Description   
I really don't know if this is a bug but I don't understand why it's happening.
When I upload a rdf with something like:

<rdfs:Class rdf:ID="Plaza"/>

everything goes fine.
But when I export it, I get this instead:

<rdf:Description rdf:about="http://www.parcial.com/turismo#Plaza">
<rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdf:Description>


Why do I get an rdf:about instead of rdf:ID?

 All   Comments   Change History      Sort Order:
Comment by Arjohn Kampman [04/Jul/10 08:48 PM]
RDF/XML allows multiple serializations of RDF graphs. Sesame parses the incoming file and extracts its statements. For exporting, Sesame needs to transform the statements back to RDF/XML syntax again. For this, it uses the rdf:about constructs since these are the most generic (rdf:ID attributes are required to be unique across the entire file).

In conclusion: this is not a bug. The two pieces of RDF/XML are semantically identical.