W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2003

RE: inline xml as property value

From: Jon Hanna <jon@spin.ie>
Date: Tue, 24 Jun 2003 11:54:28 +0100
To: <www-rdf-interest@w3.org>
Message-ID: <NDBBLCBLIMDOPKMOPHLHEEIGFEAA.jon@spin.ie>

> I was wondering how to deal with the following in RDF;
> Suppose:
> 1. I have a specific object, e.g.,: a book, identified by:
> http://foo/book123456
> 2. I have a specific property; e.g.,: lanl:hasRights
> 3. I have a specific inline value for this property; e.g.,: an IPMP
> rights xml segment (according to an xml schema):
> 
> <lanl:rights xmlns:lanl="http://foo:lanl">
> 	<lanl:next-copy-rights>
> 		<lanl:delete>Distributor</lanl:delete>
> 		<lanl:access>
> 			<lanl:security-class>3</lanl:security-class>
> 		</lanl:access>
> 		<lanl:fee>
> 			<lanl:per-use>10</lanl:per-use>
> 			<lanl:to>Account-ID-678-qwerqeruyt</lanl:to>
> 		</lanl:fee>
> 	</lanl:next-copy-rights>
> </lanl:rights>
> 
> Is it somehow or other possible in RDF, to treat this xml segment as one
> inline property value? In other words, the XML fragment in its entirety
> (i.e., without subdividing it into different resources), should be the
> hasRights value belonging to the book.
> 

<rdf:Description rdf:about="http://foo/book123456">
	<lanl:hasRights rdf:parseType="Literal">
<lanl:rights xmlns:lanl="http://foo:lanl">
	<lanl:next-copy-rights>
		<lanl:delete>Distributor</lanl:delete>
		<lanl:access>
			<lanl:security-class>3</lanl:security-class>
		</lanl:access>
		<lanl:fee>
			<lanl:per-use>10</lanl:per-use>
			<lanl:to>Account-ID-678-qwerqeruyt</lanl:to>
		</lanl:fee>
	</lanl:next-copy-rights>
</lanl:rights>
	</lanl:hasRights>
</rdf:Description>
Received on Tuesday, 24 June 2003 06:53:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:59 GMT