Skip to Content
REST in Practice
book

REST in Practice

by Jim Webber, Savas Parastatidis, Ian Robinson
September 2010
Intermediate to advanced
446 pages
13h 23m
English
O'Reilly Media, Inc.
Content preview from REST in Practice

Chapter 10. Semantics

WHEN BUILDING DISTRIBUTED APPLICATIONS ON THE WEB, you’ll see one thing is clear: document formats matter. The meaning, or semantics, behind the data and information in a document must be understood by both parties in an interaction in order to successfully achieve a business goal.

This chapter explores some of the possibilities raised by the advent of semantic technologies. It focuses on data, information, and the technologies that have emerged to help in integration scenarios. Semantics and Semantic Web are popular terms; here we show how they apply both to the example of Restbucks and more generally to building distributed systems on the Web. We’ll also briefly explore some popular technologies from the Semantic Web, including RDF and SPARQL.

Syntax Versus Semantics

Most distributed computing models enforce the structural or syntactic correctness of a system’s APIs and messages using interface or contract definition languages and message schemas. The semantics of these structural elements, however, is usually communicated through some other mechanism—typically a natural language specification. From a syntactic point of view, a <cost>2.0</cost> element is as good as an <a11119eb>2.0</a11119eb> element, just so long as both conform to the schema defined by the service provider. The difference is that the former is immediately meaningful to a human developer of an application, whereas the latter requires some interpretation—most likely involving reading a specification ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Accelerate

Accelerate

Nicole Forsgren, Jez Humble, Gene Kim
Storytelling with You

Storytelling with You

Cole Nussbaumer Knaflic
The Goal

The Goal

Eliyahu M. Goldratt, Jeff Cox

Publisher Resources

ISBN: 9781449383312Errata Page