W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > November 2011

rdf:type

From: Paul Rogers <PaulRogers@smarttech.com>
Date: Tue, 22 Nov 2011 16:56:00 -0700
To: "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
Message-ID: <CAF184A0.6CB%PaulRogers@smarttech.com>
Hello, Im a complete beginner with rdf.

Im using the ruby rdf xml libraries ( rdf/rdfxml)

How would I create a <rdf:type rdf:resource="http://server/path/Person"/>
Entry as a child of rdf:description ?

Ie like this sample


<rdf:Description rdf:about="http://server/path/temppersonresource">

       <j.3:country-name>US</j.3:country-name>

      <rdf:type rdf:resource="http://server/path/Person"/>

    </rdf:Description>


I have created the rdf:description ok, as well as various statements, but am stumped on the type.


Hope that is enough of an explanation.


Thanks


Paul
Received on Wednesday, 23 November 2011 09:14:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 November 2011 09:14:11 GMT