Modifying the Northwind Ontology to Add Labels

This document will guide you through modifying the Northwind Ontology created when you installed the demo database VAD package so that each resource is identified by an http://www.w3.org/2000/01/rdf-schema#label. This will improve the readability of the information displayed by the application created in Extending RDFDemo to Display More Compact Labels.

Pre-requisites

Improving The Appearance of the Form

The following changes are not strictly necessary but improve the appearance of the form.
                     for (int i = 0; i < table1.Rows.Count; i++)
                    {
                        textBoxList[i].Click += new EventHandler(this.iri_Click);
                        labelList[i].Location = new Point(10, i * 22 + 50);
                        textBoxList[i].Location = new Point(150, i * 22 + 50);
                        describeForm.Controls.Add(labelList[i]);
                        describeForm.Controls.Add(textBoxList[i]);
                    }

Next Steps

The image below shows some of the information about an employee in the Northwind dataset. There are two two items of data referenced that could be handled better. One is Notes and the other is Photo. It would be nice to be able to click through links to images and web pages and have those items displayed in a browser window. It would also be helpful to be able to display the longer text fields as a block of text rather than having to scroll along the small TextBox in the form.



In the next step we will extend the application so the images and web pages can be viewed and long text fields are displayed in full.

Extending RDFDemo to Display Images and Longer Text Fields.