W3C home > Mailing lists > Public > public-csv-wg@w3.org > May 2014

Hidden hierarchy example

From: Dan Brickley <danbri@google.com>
Date: Tue, 27 May 2014 11:07:32 +0100
Message-ID: <CAK-qy=7Lf3Egaibc=ib5oxAEyKhYomQn99zWfb=QMDwpkJhWHw@mail.gmail.com>
To: "public-csv-wg@w3.org" <public-csv-wg@w3.org>
Here's an example of a CSV structure that hides a hierarchy within cell values.

My expectation is that we won't specify a way to access such
complexity in our core work but it is worth bearing in mind when
thinking about extensions, hooks for other languages etc.

This link has raw CSV and prettified HTML,
http://www.onetcenter.org/taxonomy/2010/list.html?d=1 ...

Schema.org currently mentions this dataset as supplying possible
valuess to use in http://schema.org/JobPosting in the
http://schema.org/occupationalCategory property. It is very SKOS-like
data, consisting of a controlled code, with short text, long text, and
a hierarchy represented within the numeric structure of the codes. A
simple CSV mapping could expand these out into SKOS Concept like
structures; a fancy/custom mapping might figure out broader/narrower
relations that show e.g. 11-9041.01,Biofuels/Biodiesel Technology and
Product Development Managers as a specialization of
11-9041.00,Architectural and Engineering Managers...

I haven't figured out the exact rules to parse a hierarchy yet, but at
first look I'd guess it needs procedural code.


p.s. http://tburette.github.io/blog/2014/05/25/so-you-want-to-write-your-own-CSV-code/
Received on Tuesday, 27 May 2014 10:08:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:40 UTC