Skip to content

sameas.org store datafaqs

timrdf edited this page May 29, 2012 · 16 revisions

What is first?

What we will cover?

This page discusses how DataFAQs can use sameas.org. It also has some notes on how sameas.org works and how to use it.

Let's get to it!

Thanks to Hugh Glaser and Ian Millard for my little corner of sameas.org, http://sameas.org/store/datafaqs/

http://sameas.org/?uri=http://dbpedia.org/resource/Edinburgh

Requesting without conneg gives 303 to HTML:

bash-3.2$ curl -LI http://sameas.org/?uri=http://dbpedia.org/resource/Edinburgh
HTTP/1.1 303 See Other
Location: http://sameas.org/html?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FEdinburgh
Content-Type: text/html; charset=UTF-8


HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8

Requesting RDF/XML gives 303 to RDF/XML:

bash-3.2$ curl -LI -H "Accept: application/rdf+xml" http://sameas.org/?uri=http://dbpedia.org/resource/Edinburgh
HTTP/1.1 303 See Other
Location: http://sameas.org/rdf?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FEdinburgh
Content-Type: text/html; charset=UTF-8

HTTP/1.1 200 OK
Content-Type: application/rdf+xml

What is next?

Clone this wiki locally