Style question

Hello,

I'm starting to sketch out the RDF for likn, and I'm looking for a 
sanity check. My inclination is to use resources as much as possible 
and custom namespaces as little as possible....

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
		xmlns:dc="http://purl.org/dc/elements/1.1"
		xmlns:likn="http://likn.org/elements/1.0/">
	<rdf:Description rdf:about="http://likn.org/#becca">
		<dc:title>Becca</dc:title>
		<likn:hasProperty rdf:resource="http://likn.org/#eyeColor" />
		<likn:instanceOf rdf:resource="http://likn.org/#person" />
	</rdf:Description>
	<rdf:Description rdf:about="http://likn.org/#eyeColor">
		<rdf:value>
			<rdf:Bag>
				<rdf:li rdf:resource="http://likn.org/#green" />
				<rdf:li rdf:resource="http://likn.org/#brown" />
			</rdf:Bag>
		</rdf:value>
	</rdf:Description>
</rdf:RDF>

How does that look? Is there a more natural way to express this?

- ben

Received on Sunday, 6 March 2005 02:46:51 UTC