O'Reilly logo

Semantic Web for the Working Ontologist, 2nd Edition by James Hendler, Dean Allemang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Challenge: RDF and Tabular Data

We began this chapter by motivating RDF as a way to distribute data over the Web—in particular, tabular data. Now that we have all of the detailed mechanisms of RDF (including namespaces and triples) in place, we can revisit tabular data and show how to represent it consistently in RDF.

Challenge 1

Given a table from a relational database, describing products, suppliers, and stocking information about the products (see Table 3.12), produce an RDF graph that reflects the content of Table 3.12 in such a way that the information intent is preserved but the data are now amenable for RDF operations like merging and RDF query.

Table 3.12

Sample Tabular Data for Triples

Product
ID Model Number Division Product ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required