{"id":793,"date":"2007-03-28T10:12:28","date_gmt":"2007-03-28T14:12:28","guid":{"rendered":"http:\/\/fgiasson.com\/blog\/index.php\/2007\/03\/28\/making-the-bridge-between-the-web-and-the-semantic-web\/"},"modified":"2007-03-28T13:19:11","modified_gmt":"2007-03-28T17:19:11","slug":"making-the-bridge-between-the-web-and-the-semantic-web","status":"publish","type":"post","link":"https:\/\/fgiasson.com\/blog\/index.php\/2007\/03\/28\/making-the-bridge-between-the-web-and-the-semantic-web\/","title":{"rendered":"Making the bridge between the Web and the Semantic Web"},"content":{"rendered":"<p dragover=\"true\">&nbsp;<\/p>\n<p>Many people think that the semantic web will never happens, at least in next few years, because there is not enough useful data published in RDF. This is fortunately a misconception. In fact, many things are already accessible in RDF, even if it doesn&#8217;t appear at the first sigh.<\/p>\n<p dragover=\"true\">&nbsp;<\/p>\n<p><strong>Triplr<\/strong><\/p>\n<p><a href=\"http:\/\/dannyayers.com\/2007\/03\/27\/semweb-bits\">Danny Ayers recently pointed out<\/a> a new web service created by <a href=\"http:\/\/www.dajobe.org\/\">Dave Beckett<\/a> called Triplr: &#8220;Stuff in, triples out&#8221;.<\/p>\n<p><a href=\"http:\/\/triplr.org\/\">Triplr<\/a> is a bridge between well-formed XHTML web page containing GRRDL, RSS and their RDF\/XML or Turtle formatting.<\/p>\n<p><a href=\"http:\/\/triplr.org\/rdf\/http:\/\/www.w3.org\/People\/Connolly\/\">Here is an example<\/a><\/p>\n<p dragover=\"true\">&nbsp;<\/p>\n<p><strong>Virtuoso&#8217;s Sponger<\/strong><\/p>\n<p>Another bridging service called the Sponger also exists. Its goal is the same as Triplr: taking different sources of data as input, and creating RDF as output.<\/p>\n<p>The <a href=\"http:\/\/www.openlinksw.com\/virtuoso\/\">Virtuoso<\/a> Sponger will do everything possible to find RDF triples from a given URL (via content-negotiation and checking for &#8220;link&#8221; elements in HTML files). If no RDF document is available from a URL, it will tries to convert the data source available at that URL into RDF triples. Converted data sources are: microformats, RDFa, eRDF, HTML meta data tags, HTTP headers, as well as APIs like <a href=\"http:\/\/base.google.com\">Google Base<\/a>, <a href=\"http:\/\/flickr.com\">Flickr<\/a>, <a href=\"http:\/\/del.icio.us\">Del.icio.us<\/a>, etc.<\/p>\n<p dragover=\"true\">&nbsp;<\/p>\n<p><strong>How does it work?<\/strong><\/p>\n<ol>\n<li>The first thing the Sponger is doing is trying to dereference a given URL to get RDF data from it. If it finds some, it returns it, otherwise, it continues.<\/li>\n<li>If the URL refers to a HTML file, the Sponger will try to find &#8220;link&#8221; elements referring to RDF documents. If he finds one or more of them, it will add their triples into a temporary RDF graph in and continue its process.<\/li>\n<li>If the Sponger finds microformat data into the HTML file, it will maps it using related ontologies (depending on the microformat) and will creates RDF triples from that mapping. It will add these triples to the temporary RDF graph and continues.<\/li>\n<li>If the Sponger finds eRDF or RDFa data into the HTML file, he will extracts them from the HTML file and add them into the RDF graph and continues.<\/li>\n<li>If the Sponger find that it is talking with a web service such as Google Base, it will maps the API of the web service with an ontology, creates triples from that mapping and includes the triples into the temporary RDF graph and continues.<\/li>\n<li>If nothing is found and that there is some HTML meta-data, it will maps them with some ontologies, creates triples and add them to the temporary RDF graph.<\/li>\n<li>Finally, if nothing is found, it will returns an empty graph.<\/li>\n<\/ol>\n<p>The result is simple: from any URL, it is most than likely sure that you will get some RDF data related to that URL. The bridge is now made between the Web and the Semantic Web.<\/p>\n<p dragover=\"true\">&nbsp;<\/p>\n<p><strong>Some examples<\/strong><\/p>\n<p>There are some examples of data sources converted by the Sponger:<\/p>\n<ul>\n<li><a href=\"http:\/\/demo.openlinksw.com\/proxy?url=http:\/\/www.w3.org\/People\/Connolly\/&amp;force=rdf\">RDF\/XML from HTML via GRDDL<\/a> (same as the Triplr example)<\/li>\n<li><a href=\"http:\/\/demo.openlinksw.com\/proxy?url=http:\/\/fgiasson.com&amp;force=rdf\">Following &#8220;link&#8221; HTML document to find linked RDF files<\/a> (from my home page, to my FOAF profile hosted on another website)<\/li>\n<li><a href=\"http:\/\/demo.openlinksw.com\/proxy?url=http:\/\/www.google.com\/base\/feeds\/snippets\/-\/jobs?start-index=30&amp;max-results=30&amp;key=ABQIAAAA7VerLsOcLuBYXR7vZI2NjhTRERdeAiwZ9EeJWta3L_JZVS0bOBRIFbhTrQjhHE52fqjZvfabYYyn6A&amp;force=rdf\">From the Google Web service API to RDF\/XML<\/a> (<a href=\"http:\/\/www.google.com\/base\/feeds\/snippets\/-\/jobs?start-index=30&amp;max-results=30&amp;key=ABQIAAAA7VerLsOcLuBYXR7vZI2NjhTRERdeAiwZ9EeJWta3L_JZVS0bOBRIFbhTrQjhHE52fqjZvfabYYyn6A\">There is the normal web page (a feed) where the triples are generated from<\/a>)<\/li>\n<\/ul>\n<p dragover=\"true\">&nbsp;<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>What is fantastic for a developer is that he only has to develop its system according to RDF to make its application communicating with any of these data sources. The Virtuoso Sponger will do all the job of interpreting the information for him.<\/p>\n<p>This is where we really meet the Semantic Web.<\/p>\n<p>With such tools, it is like looking at the semantic web in a lens.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Many people think that the semantic web will never happens, at least in next few years, because there is not enough useful data published in RDF. This is fortunately a misconception. In fact, many things are already accessible in RDF, even if it doesn&#8217;t appear at the first sigh. &nbsp; Triplr Danny Ayers recently [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[84,64],"tags":[],"class_list":["post-793","post","type-post","status-publish","format-standard","hentry","category-semantic-web","category-web"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=793"}],"version-history":[{"count":0,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"wp:attachment":[{"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fgiasson.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}