<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: REST, Hypermedia, and JSON</title>
	<link>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/</link>
	<description>Semantic Web, Ruby on Rails, and Massive Data</description>
	<pubDate>Sat, 05 Jul 2008 01:40:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: Nodalities &#187; Blog Archive &#187; This Week&#8217;s Semantic Web</title>
		<link>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-596</link>
		<dc:creator>Nodalities &#187; Blog Archive &#187; This Week&#8217;s Semantic Web</dc:creator>
		<pubDate>Thu, 17 Apr 2008 16:52:54 +0000</pubDate>
		<guid>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-596</guid>
		<description>[...] On software architecture, Connecting, REST, Hypermedia, and JSON [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] On software architecture, Connecting, REST, Hypermedia, and JSON [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: igwan</title>
		<link>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-575</link>
		<dc:creator>igwan</dc:creator>
		<pubDate>Thu, 03 Apr 2008 17:28:28 +0000</pubDate>
		<guid>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-575</guid>
		<description>More than just tagging your URIs in your JSON format, you have to define somewhere (in your format spec) what the client can do with them or your representations fail to be self-describing. There's no generic way for including hypermedia in JSON to my knowledge, so you'd need to define your own "application/myformat+json" media-type.
In HTML it is perfectly defined what a client can do with the HREF value in an anchor tag or with the URIref in the ACTION attribute of a FORM. It's not so in plain RDF, unless you define that resources having certain types can be GET, PUT or POSTed to. There's an attempt at this called RDF Forms http://www.markbaker.ca/2003/05/RDF-Forms/ .</description>
		<content:encoded><![CDATA[<p>More than just tagging your URIs in your JSON format, you have to define somewhere (in your format spec) what the client can do with them or your representations fail to be self-describing. There&#8217;s no generic way for including hypermedia in JSON to my knowledge, so you&#8217;d need to define your own &#8220;application/myformat+json&#8221; media-type.<br />
In HTML it is perfectly defined what a client can do with the HREF value in an anchor tag or with the URIref in the ACTION attribute of a FORM. It&#8217;s not so in plain RDF, unless you define that resources having certain types can be GET, PUT or POSTed to. There&#8217;s an attempt at this called RDF Forms <a href="http://www.markbaker.ca/2003/05/RDF-Forms/" rel="nofollow">http://www.markbaker.ca/2003/05/RDF-Forms/</a> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-552</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 24 Mar 2008 21:35:01 +0000</pubDate>
		<guid>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-552</guid>
		<description>Agreed, you don't want to guess if the string is a URI.  The simple hash is a good option there.

And while formats like N3 have identified URI as a first class type, JSON has so many tools and is integrated directly into the language of the Web (Javascript) that it's going to take a lot to replace JSON with N3.

I definitely intend to return HTML, JSON, RDF/XML, and &lt;a href="http://www.dajobe.org/2004/01/turtle/" rel="nofollow"&gt;Turtle&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Agreed, you don&#8217;t want to guess if the string is a URI.  The simple hash is a good option there.</p>
<p>And while formats like N3 have identified URI as a first class type, JSON has so many tools and is integrated directly into the language of the Web (Javascript) that it&#8217;s going to take a lot to replace JSON with N3.</p>
<p>I definitely intend to return HTML, JSON, RDF/XML, and <a href="http://www.dajobe.org/2004/01/turtle/" rel="nofollow">Turtle</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ix</title>
		<link>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-551</link>
		<dc:creator>ix</dc:creator>
		<pubDate>Mon, 24 Mar 2008 21:30:30 +0000</pubDate>
		<guid>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-551</guid>
		<description>doing regex on a bunch of strings to guess if theyre URIs really smells.

i use {uri: 'http://someuri"} instead of a string.

but i think URIs are realy important as a first class element of the syntax, and N3 is already invented, so the clock is ticking on JSON</description>
		<content:encoded><![CDATA[<p>doing regex on a bunch of strings to guess if theyre URIs really smells.</p>
<p>i use {uri: &#8216;http://someuri&#8221;} instead of a string.</p>
<p>but i think URIs are realy important as a first class element of the syntax, and N3 is already invented, so the clock is ticking on JSON</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-548</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 24 Mar 2008 18:15:11 +0000</pubDate>
		<guid>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-548</guid>
		<description>I looked at the SPARQL JSON mapping, but it's too verbose for my use case.  I don't want to have to set the type and value for every attribute.

For now, I'm simply using a fully qualified URI as the value for an attribute.  It's up to the client to read the docs or specs to learn which attributes in the JSON are URIs.

I'm happy I'm including URIs (links) in my JSON.  Feels much more webby.</description>
		<content:encoded><![CDATA[<p>I looked at the SPARQL JSON mapping, but it&#8217;s too verbose for my use case.  I don&#8217;t want to have to set the type and value for every attribute.</p>
<p>For now, I&#8217;m simply using a fully qualified URI as the value for an attribute.  It&#8217;s up to the client to read the docs or specs to learn which attributes in the JSON are URIs.</p>
<p>I&#8217;m happy I&#8217;m including URIs (links) in my JSON.  Feels much more webby.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce D'Arcus</title>
		<link>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-541</link>
		<dc:creator>Bruce D'Arcus</dc:creator>
		<pubDate>Mon, 24 Mar 2008 10:18:47 +0000</pubDate>
		<guid>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-541</guid>
		<description>Why not borrow the approach used in the &lt;a href="http://www.w3.org/TR/rdf-sparql-json-res/" rel="nofollow"&gt;SPARQL JSON results format&lt;/a&gt;? E.g.

&lt;code&gt;
"account": { "type": "uri" , "value": "http://example.org/accounts/23242342" } ,
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Why not borrow the approach used in the <a href="http://www.w3.org/TR/rdf-sparql-json-res/" rel="nofollow">SPARQL JSON results format</a>? E.g.</p>
<p><code><br />
"account": { "type": "uri" , "value": "http://example.org/accounts/23242342" } ,<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colm Sean Kennedy</title>
		<link>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-539</link>
		<dc:creator>Colm Sean Kennedy</dc:creator>
		<pubDate>Mon, 24 Mar 2008 09:23:08 +0000</pubDate>
		<guid>http://www.semergence.com/2008/03/23/rest-hypermedia-and-json/#comment-539</guid>
		<description>I worked on a "tourist system" in 1989-1990 direction using HyperCard.  We ended up putting all the hyperlinks in a database.</description>
		<content:encoded><![CDATA[<p>I worked on a &#8220;tourist system&#8221; in 1989-1990 direction using HyperCard.  We ended up putting all the hyperlinks in a database.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
