{"id":2081,"date":"2005-11-30T13:43:04","date_gmt":"2005-11-30T13:43:04","guid":{"rendered":"http:\/\/www.leobard.net\/blog\/?p=2081"},"modified":"2017-11-04T15:48:16","modified_gmt":"2017-11-04T15:48:16","slug":"sparqling-the-opera-community","status":"publish","type":"post","link":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/","title":{"rendered":"sparqling the opera community"},"content":{"rendered":"<p>as <a href=\"http:\/\/swig.xmlhack.com\/2005\/11\/30\/2005-11-30.html#1133347083.583791\">suggested on the swig scratchpad<\/a>, we should search for examples.<\/p>\n<p>ok, what we have is a <a href=\"http:\/\/www.w3.org\/TR\/rdf-sparql-query\/\">SPARQL <\/a>conformant <a href=\"http:\/\/my.opera.com\/community\/sparql\/\">query interface to 2mio triples<\/a> that come from a <a href=\"http:\/\/my.opera.com\/community\/\">community website (users, forums, photos, etc)<\/a><\/p>\n<p>I did a little blind shots, not very amusing. By mistake, I did a full table scan on all instances once (* type *) and got a 100mb file with uris to play with. None of the uris has a DESCRIBE (argh, why isn&#8217;t <a href=\"http:\/\/www.w3.org\/mid\/0FE44CE3-A3DB-45F3-96E7-3DE92E90B09B@nokia.com\">CBD in SPARQL yet<\/a>).<\/p>\n<p>so, this for example doesn&#8217;t work:<br \/>\n<cite><br \/>\nPREFIX rdfs:    &lt;http:\/\/www.w3.org\/2000\/01\/rdf-schema#&gt;<br \/>\nPREFIX rdf:     &lt;http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#&gt;<br \/>\nDESCRIBE &lt;http:\/\/my.opera.com\/butchevans\/homes\/albums\/10149\/PA140033.JPG&gt;<br \/>\n<\/cite><\/p>\n<p>typical uris and types I found:<br \/>\n<cite>http:\/\/my.opera.com\/_1\/xml\/foaf#_1<br \/>\n<a href=\"http:\/\/my.opera.com\/Fietsy\/xml\/foaf#Fietsy\">http:\/\/my.opera.com\/Fietsy\/xml\/foaf#Fietsy<\/a><br \/>\n&#8211; these are of type foaf:Person<\/p>\n<p><a href=\"http:\/\/my.opera.com\/masterpdc\/homes\/albums\/2158\/IMG_1557.JPG\">http:\/\/my.opera.com\/masterpdc\/homes\/albums\/2158\/IMG_1557.JPG<\/a><br \/>\n<a href=\"http:\/\/my.opera.com\/jessegoodwin\/homes\/albums\/2156\/DSCN0322.JPG\">http:\/\/my.opera.com\/jessegoodwin\/homes\/albums\/2156\/DSCN0322.JPG<\/a><br \/>\n&#8211; these are of type foaf:Image<\/p>\n<p><a href=\"http:\/\/my.opera.com\/shawncl\/albums\/show.dml?id=11201\">http:\/\/my.opera.com\/shawncl\/albums\/show.dml?id=11201<\/a><br \/>\nthis has got type gallery:<br \/>\n<a href=\"http:\/\/my.opera.com\/community\/xmlns\/2005\/gallery#Gallery\">http:\/\/my.opera.com\/community\/xmlns\/2005\/gallery#Gallery<\/a><\/p>\n<p>these are blogs:<br \/>\n<a href=\"http:\/\/my.opera.com\/matthewserg\/blog\/\">http:\/\/my.opera.com\/matthewserg\/blog\/<\/a><br \/>\ntype: <a href=\"http:\/\/purl.org\/dc\/elements\/1.1\/Collection\">http:\/\/purl.org\/dc\/elements\/1.1\/Collection<\/a><\/p>\n<p>a document:<br \/>\n<a href=\"http:\/\/my.opera.com\/olli\/blog\/show.dml\/2235\">http:\/\/my.opera.com\/olli\/blog\/show.dml\/2235<\/a> <br \/>\ntype: <a href=\"http:\/\/xmlns.com\/foaf\/0.1\/Document\">http:\/\/xmlns.com\/foaf\/0.1\/Document<\/a><\/p>\n<p>groups:<br \/>\n<a href=\"http:\/\/my.opera.com\/groops\/xml\/foaf#groops\">http:\/\/my.opera.com\/groops\/xml\/foaf#groops<\/a><br \/>\n<a href=\"http:\/\/my.opera.com\/iran%20sayeha\/xml\/foaf#iran_sayeha\">http:\/\/my.opera.com\/iran%20sayeha\/xml\/foaf#iran_sayeha<\/a><br \/>\ntype: <a href=\"http:\/\/xmlns.com\/foaf\/0.1\/Group\">http:\/\/xmlns.com\/foaf\/0.1\/Group<\/a><br \/>\n<\/cite><\/p>\n<p>ok, looking at the opera community site we see that there is a guy named <i>Words <\/i> who is member of the week, meaning he is very active. So sparqling for Words looks like this:<\/p>\n<p><cite>PREFIX rdfs:  <br \/>\n&lt;http:\/\/www.w3.org\/2000\/01\/rdf-schema#&gt;<br \/>\nPREFIX rdf:  <br \/>\n&lt;http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#&gt;<br \/>\nSELECT ?p ?o WHERE <br \/>\n{&lt;http:\/\/my.opera.com\/Words\/xml\/foaf#Words&gt; ?p ?o.}<\/cite><\/p>\n<p>Well, this brought us his foaf:knows relations and his weblog uri. cool. Lets make a backlink search:<\/p>\n<p>\n<cite>PREFIX rdfs: <br \/>\n&lt;http:\/\/www.w3.org\/2000\/01\/rdf-schema#&gt;<br \/>\nPREFIX rdf:<br \/>\n&lt;http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#&gt;<br \/>\nSELECT ?s ?p WHERE { ?s ?p <br \/>\n&lt;http:\/\/my.opera.com\/Words\/xml\/foaf#Words&gt;.}<\/cite><\/p>\n<p>this brought some pictures he created, connected via dc:creator uri: <a href=\"http:\/\/purl.org\/dc\/elements\/1.1\/creator\">http:\/\/purl.org\/dc\/elements\/1.1\/creator<\/a>.<\/p>\n<p>and much more&#8230;.<\/p>\n<p>ok, thsi should be enough to get people on the track to build guis and web 2.0 stuff on top of opera community.<\/p>\n<p>thanks to opera: the users data is users data now, not theirs. cool move.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>as suggested on the swig scratchpad, we should search for examples. ok, what we have is a SPARQL conformant query interface to 2mio triples that come from a community website (users, forums, photos, etc) I did a little blind shots, not very amusing. By mistake, I did a full table scan on all instances once &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;sparqling the opera community&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bluesky_dont_syndicate":"","_bluesky_syndication_accounts":"","_bluesky_syndication_text":"","activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-2081","post","type-post","status-publish","format-standard","hentry","category-semweb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>sparqling the opera community - Leobard&#039;s blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"sparqling the opera community - Leobard&#039;s blog\" \/>\n<meta property=\"og:description\" content=\"as suggested on the swig scratchpad, we should search for examples. ok, what we have is a SPARQL conformant query interface to 2mio triples that come from a community website (users, forums, photos, etc) I did a little blind shots, not very amusing. By mistake, I did a full table scan on all instances once &hellip; Continue reading &quot;sparqling the opera community&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/\" \/>\n<meta property=\"og:site_name\" content=\"Leobard&#039;s blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/leobard\" \/>\n<meta property=\"article:published_time\" content=\"2005-11-30T13:43:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-04T15:48:16+00:00\" \/>\n<meta name=\"author\" content=\"leobard\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"leobard\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/\"},\"author\":{\"name\":\"leobard\",\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/#\\\/schema\\\/person\\\/23f718c5d3bd8d343befaa1b11bdc609\"},\"headline\":\"sparqling the opera community\",\"datePublished\":\"2005-11-30T13:43:04+00:00\",\"dateModified\":\"2017-11-04T15:48:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/\"},\"wordCount\":429,\"commentCount\":0,\"articleSection\":[\"SemWeb\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/\",\"url\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/\",\"name\":\"sparqling the opera community - Leobard&#039;s blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/#website\"},\"datePublished\":\"2005-11-30T13:43:04+00:00\",\"dateModified\":\"2017-11-04T15:48:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/#\\\/schema\\\/person\\\/23f718c5d3bd8d343befaa1b11bdc609\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/2005\\\/11\\\/30\\\/sparqling-the-opera-community\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"sparqling the opera community\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/\",\"name\":\"Leobard&#039;s blog\",\"description\":\"personal weblog of Leo Sauermann\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/#\\\/schema\\\/person\\\/23f718c5d3bd8d343befaa1b11bdc609\",\"name\":\"leobard\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4f15ee76fffcb732371d121c4713809a3f075186c6223630d4fe6c82ae88166d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4f15ee76fffcb732371d121c4713809a3f075186c6223630d4fe6c82ae88166d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4f15ee76fffcb732371d121c4713809a3f075186c6223630d4fe6c82ae88166d?s=96&d=mm&r=g\",\"caption\":\"leobard\"},\"description\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/about-leo-sauermann\\\/\",\"sameAs\":[\"https:\\\/\\\/www.leobard.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/leobard\",\"https:\\\/\\\/www.instagram.com\\\/leobarder\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/leosauermann\\\/\"],\"url\":\"https:\\\/\\\/www.leobard.net\\\/blog\\\/author\\\/leobard\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"sparqling the opera community - Leobard&#039;s blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/","og_locale":"en_US","og_type":"article","og_title":"sparqling the opera community - Leobard&#039;s blog","og_description":"as suggested on the swig scratchpad, we should search for examples. ok, what we have is a SPARQL conformant query interface to 2mio triples that come from a community website (users, forums, photos, etc) I did a little blind shots, not very amusing. By mistake, I did a full table scan on all instances once &hellip; Continue reading \"sparqling the opera community\"","og_url":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/","og_site_name":"Leobard&#039;s blog","article_author":"https:\/\/www.facebook.com\/leobard","article_published_time":"2005-11-30T13:43:04+00:00","article_modified_time":"2017-11-04T15:48:16+00:00","author":"leobard","twitter_card":"summary_large_image","twitter_misc":{"Written by":"leobard","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/#article","isPartOf":{"@id":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/"},"author":{"name":"leobard","@id":"https:\/\/www.leobard.net\/blog\/#\/schema\/person\/23f718c5d3bd8d343befaa1b11bdc609"},"headline":"sparqling the opera community","datePublished":"2005-11-30T13:43:04+00:00","dateModified":"2017-11-04T15:48:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/"},"wordCount":429,"commentCount":0,"articleSection":["SemWeb"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/","url":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/","name":"sparqling the opera community - Leobard&#039;s blog","isPartOf":{"@id":"https:\/\/www.leobard.net\/blog\/#website"},"datePublished":"2005-11-30T13:43:04+00:00","dateModified":"2017-11-04T15:48:16+00:00","author":{"@id":"https:\/\/www.leobard.net\/blog\/#\/schema\/person\/23f718c5d3bd8d343befaa1b11bdc609"},"breadcrumb":{"@id":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.leobard.net\/blog\/2005\/11\/30\/sparqling-the-opera-community\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leobard.net\/blog\/"},{"@type":"ListItem","position":2,"name":"sparqling the opera community"}]},{"@type":"WebSite","@id":"https:\/\/www.leobard.net\/blog\/#website","url":"https:\/\/www.leobard.net\/blog\/","name":"Leobard&#039;s blog","description":"personal weblog of Leo Sauermann","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leobard.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.leobard.net\/blog\/#\/schema\/person\/23f718c5d3bd8d343befaa1b11bdc609","name":"leobard","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4f15ee76fffcb732371d121c4713809a3f075186c6223630d4fe6c82ae88166d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4f15ee76fffcb732371d121c4713809a3f075186c6223630d4fe6c82ae88166d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4f15ee76fffcb732371d121c4713809a3f075186c6223630d4fe6c82ae88166d?s=96&d=mm&r=g","caption":"leobard"},"description":"https:\/\/www.leobard.net\/blog\/about-leo-sauermann\/","sameAs":["https:\/\/www.leobard.net\/","https:\/\/www.facebook.com\/leobard","https:\/\/www.instagram.com\/leobarder\/","https:\/\/www.linkedin.com\/in\/leosauermann\/"],"url":"https:\/\/www.leobard.net\/blog\/author\/leobard\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/posts\/2081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/comments?post=2081"}],"version-history":[{"count":1,"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/posts\/2081\/revisions"}],"predecessor-version":[{"id":2867,"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/posts\/2081\/revisions\/2867"}],"wp:attachment":[{"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/media?parent=2081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/categories?post=2081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leobard.net\/blog\/wp-json\/wp\/v2\/tags?post=2081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}