- From: Geoff Chappell <geoff@sover.net>
- Date: Mon, 7 Mar 2005 06:51:18 -0500
- To: "'ben syverson'" <w3@likn.org>
- Cc: <semantic-web@w3.org>
> -----Original Message----- > From: semantic-web-request@w3.org [mailto:semantic-web-request@w3.org] On > Behalf Of ben syverson > Sent: Monday, March 07, 2005 12:28 AM > To: semantic-web@w3.org > Subject: Re: Style question > > > Okay, so this is my latest attempt: > > <?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/owl" > xml:base="http://likn.org/rdf/"> > <rdf:Description rdf:about="becca"> > <dc:title>Becca</dc:title> > <rdf:type rdf:resource="http://likn.org/owl#person" /> > <likn:eyeColor rdf:resource="brown" /> > <likn:eyeColor rdf:resource="green" /> > </rdf:Description> > </rdf:RDF> > > My only issue with it is that I'd like to be able to say the same thing > without any likn Qnames. Is there a way to make the following statement > without Qnames? You could use http://likn.org/owl/" as the default namespace - e.g.: <?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="http://likn.org/owl/" xml:base="http://likn.org/rdf/"> <rdf:Description rdf:about="becca"> <dc:title>Becca</dc:title> <rdf:type rdf:resource="http://likn.org/owl#person" /> <eyeColor rdf:resource="brown" /> <eyeColor rdf:resource="green" /> </rdf:Description> </rdf:RDF> > "http://likn.org/becca has the property http://likn.org/eyeColor with > the value http://likn.org/brown" or just use n-triples - e.g: <http://likn.org/rdf/becca> <http://likn.org/owl/eyeColor> <http://likn.org/rdf/green> . <http://likn.org/rdf/becca> <http://likn.org/owl/eyeColor> <http://likn.org/rdf/brown> . <http://likn.org/rdf/becca> <http://purl.org/dc/elements/1.1/title> "Becca" . <http://likn.org/rdf/becca> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://likn.org/owl#person> . > Without resorting to something like: > <rdf:Description> > <rdf:subject rdf:resource="becca" /> > <rdf:predicate rdf:resource="eyeColor" /> > <rdf:object rdf:resource="brown" /> > <rdf:type > rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement" /> > </rdf:Description> > > I don't like how that graphs -- are reasoners even required to believe > that assertion? No. > - ben Geoff
Received on Monday, 7 March 2005 11:51:43 UTC