![]() |
| Previous Top Next |
Creating the DC Metadata |
In this section, you will create Dublin Core (DC) metadata for a single resource. Specifically, you will create a resource called A Sample Page, and define dc:title, dc:description, and dc:date elements for it.
Creating a new resource
To create a new resource, create the Add New button (screenshot below), and name the newly created resource urn:SamplePage.

Adding DC metadata for a resource
Click the Detail View button of urn:SamplePage to go to the Detail View of urn:SamplePage (screenshot below).

Now do the following:
| 1. | Right-click the urn:SamplePage box, click Add Predicate, and from the dropdown list select dc:title. Right-click the dc:title box, click Add Literal Object, and type A Sample Page in the newly created Literal Object box. The dc:title metadata is created. |
| 2. | Right-click the urn:SamplePage box, click Add Predicate, and from the dropdown list select dc:description. Right-click the dc:description box, click Add Literal Object, and type A Sample Page for the DC metadata tutorial in the newly created Literal Object box. The dc:description metadata is created. |
| 3. | Right-click the urn:SamplePage box, click Add Predicate, and from the dropdown list select dc:date. Right-click the dc:date box, click Add Literal Object, and type 2006-10-03 in the newly created Literal Object box. Select the datatype toggle (by clicking DT in the bottom half of the |
The Detail View of urn:SamplePage should look something like this:

Switch to Text View to see the RDF/XML serialization, which should look something like this:

Notice that the dc:date element has an rdf:datatype attribute with a value of http://www.w3.org/2001/XMLSchema#date, which indicates the date datatype of XML Schema.
You can create as many DC elements that you want as predicates of this resource. To create more resources, go back to RDF/OWL View Overview. Save the file to complete this part of the tutorial.
That's it!
You have learned how to create a Dublin Core RDF document using the graphical interface of SemanticWorks. In the Examples folder of the SemanticWorks application folder, you will find a DC ontology (DCOntology.rdf) and a DC template (DCTemplate.rdf) to help you create DC RDF documents.
|