Can someone please point me toward the most up-to-date XML Schema definition for RDF?

asked 03 Aug '11, 15:26

Ronald%20P.%20Reck's gravatar image

Ronald P. Reck
44519
accept rate: 16%


I'm not aware of any official XML Schema definition for RDF/XML, but there is a (non-normative) RELAX NG spec. See appendix A of the RDF/XML syntax specification.

If you need XML Schema, you could use a tool like Trang to convert it.

permanent link

answered 03 Aug '11, 17:45

Jeen%20Broekstra's gravatar image

Jeen Broekstra ♦
11.5k412
accept rate: 38%

Jeen is right, there is no official XML Schema definition for RDF/XML. I am not expert in XML Schemas, but I am not even sure it is doable (or the result would be incredibly complicated).

The question is: what do you need it for?

permanent link

answered 04 Aug '11, 05:57

Ivan's gravatar image

Ivan
1.3k34
accept rate: 13%

I am not the one who needed it, someone requested it from me and I was doing my best to provide them an accurate and complete answer.

(04 Aug '11, 07:28) Ronald P. Reck Ronald%20P.%20Reck's gravatar image
2

(commenting on Ivan's answer)

A possible use case for this would be exporting directly RDF/XML as a metadata format through OAI-PMH (see here).

FWIW, I also have the feeling that an XML Schema describing the structure of every valid RDF/XML file would be very hard to build (e.g. it would need to consider the fact that node elements can be not only RDF constructs but also any QName corresponding to an RDFS class or property).

(04 Aug '11, 11:46) Dimi Passon Dimi%20Passon's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×39
×20

question asked: 03 Aug '11, 15:26

question was seen: 4,693 times

last updated: 08 Aug '11, 19:17