Just Use The Web The Case For Naming Classes and Properties with URLs

17
1 Just Use The Web The Case For Naming Classes and Properties with URLs Sandro Hawke, W3C October 16, 2008 -- Santa Clara, CA

description

Sandro Hawke, W3C October 16, 2008 -- Santa Clara, CA. Just Use The Web The Case For Naming Classes and Properties with URLs. W3C. Founded 1994 by Sir Tim Berners-Lee ~50 WGs, ~500 Participants, ~50 Staff, ~400 Member Orgs, ~40 Countries >100 Recommendations. Web Standards. - PowerPoint PPT Presentation

Transcript of Just Use The Web The Case For Naming Classes and Properties with URLs

Page 1: Just Use The Web The Case For Naming Classes and Properties with URLs

1

Just Use The WebThe Case For Naming Classes and Properties with

URLs

Sandro Hawke, W3COctober 16, 2008 -- Santa Clara, CA

Page 2: Just Use The Web The Case For Naming Classes and Properties with URLs

2

W3C

• Founded 1994 by Sir Tim Berners-Lee

• ~50 WGs, ~500 Participants, ~50 Staff,

• ~400 Member Orgs, ~40 Countries

• >100 Recommendations

Page 3: Just Use The Web The Case For Naming Classes and Properties with URLs

3

Web Standards

• When you want computers to talk

• ... without custom coding

• What is “Web”

– HTTP, HTML, URLs ?

– Publish-at-Location, Access-at-Location ?

Page 4: Just Use The Web The Case For Naming Classes and Properties with URLs

Massive Scale

• We all know the scale of the Web

• Can't control it, only nudge it

• Viral

• Excitement

• Political

Page 5: Just Use The Web The Case For Naming Classes and Properties with URLs

5

Stability Paradox

• Won't be used until it's stable

• Bugs only show up in real use

• Then it's too late to change it!

• cf Network Effect

Page 6: Just Use The Web The Case For Naming Classes and Properties with URLs

6

Iterative Design

• Concentric Circles of Review

• OK to start simple & cheap (homegrown)

• Grow in place (sort of)

Page 7: Just Use The Web The Case For Naming Classes and Properties with URLs

7

Third Party Extensibility

• Event worse than changing your

deployed format

• Some group of your users want to deploy

some new feature

• What should software do when it sees an

extension?

Page 8: Just Use The Web The Case For Naming Classes and Properties with URLs

8

XML, RDF

• (Either works, for current discussion)

• “Extensible”

• “Self-Describing”

• Has declarative transforms (shims)

Page 9: Just Use The Web The Case For Naming Classes and Properties with URLs

Schema or Ontology?

(Data Interface)• Not always the same thing

• “Every Human Has Two (bio) Parents”

• Reincarnation of Object/Relational mismatch

• Web3: Data Interface Specification

• Handle the differences carefully

Page 10: Just Use The Web The Case For Naming Classes and Properties with URLs

10

SOLUTION: Using Web

Address for Names• self-describing for people == websites of

documentation

• self-describing for machines ==

validations, shims

• clear (enough) ownership of names

(syntax) for extensibility

Page 11: Just Use The Web The Case For Naming Classes and Properties with URLs

11

Self-Describing for People

• Alas, rarely done well (so far)

• Any good examples out there?

Page 12: Just Use The Web The Case For Naming Classes and Properties with URLs

12

Self-Describing for Machines –

Validation• You receive a document, and know just

that it's XML or RDF

• You can do lots of error checking, by

following the URLs to schemas

Page 13: Just Use The Web The Case For Naming Classes and Properties with URLs

13

Self-Describing for Machines –

Automatic Shims• You receive a document, knowing just

that it's XML or RDF

• It's not in a format you implement!

• You can use the URLs to find transforms.

• (this technology isn't standard, deployed

yet; cf XTAN)

Page 14: Just Use The Web The Case For Naming Classes and Properties with URLs

14

Clear (enough) Ownership of

Names• Avoid accidental re-use of names

• Give extra weight to a name's owner

• You can re-invent directory services, but

you'll hit the same social problems

Page 15: Just Use The Web The Case For Naming Classes and Properties with URLs

15

Problems/Opportunities

• Ontology/Schema Hosting Services

• Nice URL dereference for humans

• Ontology/Schema Marketplace

• XML Namespaces vs RDF URI-Based

Names

• httpRange-14, 303-See-Other

Page 16: Just Use The Web The Case For Naming Classes and Properties with URLs

16

Some Case Studies

• FOAF evolution, hosting, mapping

• Dublin Core evolution, hosting, mapping

Page 17: Just Use The Web The Case For Naming Classes and Properties with URLs

17

The Future

• Many more decentralized computer

applications

• Many, many more standards

• Evolving politics and practice of

standardization