W3C home > Mailing lists > Public > semantic-web@w3.org > March 2005

Style question

From: ben syverson <w3@likn.org>
Date: Sat, 5 Mar 2005 20:46:49 -0600
Message-Id: <4d6d470337d5d25c19c80b6a793f421f@likn.org>
To: semantic-web@w3.org

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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:41:45 UTC