@prefix rdf:	<http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ns1:	<http://www.openlinksw.com/dataspace/person/kidehen@openlinksw.com#> .
@prefix foaf:	<http://xmlns.com/foaf/0.1/> .
ns1:this	rdf:type	foaf:Person .
@prefix sioct:	<http://rdfs.org/sioc/types#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D>	rdf:type	sioct:Weblog .
@prefix atom:	<http://atomowl.org/ontologies/atomrdf#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D>	rdf:type	atom:Feed .
@prefix rdfs:	<http://www.w3.org/2000/01/rdf-schema#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D>	rdfs:label	"kidehen@openlinksw.com's BLOG [127] description" .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	rdf:type	sioct:BlogPost ,
		atom:Entry .
@prefix dc:	<http://purl.org/dc/elements/1.1/> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	dc:title	"SPARQL, Ajax, Tagging, Folksonomies, Share Ontologies and Semantic Web" ;
	foaf:maker	ns1:this ;
	rdfs:label	"SPARQL, Ajax, Tagging, Folksonomies, Share Ontologies and Semantic Web" .
@prefix dt:	<http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms:	<http://purl.org/dc/terms/> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	dcterms:created	"2006-12-07T17:35:29Z"^^dt:dateTime ;
	dcterms:modified	"2006-12-13T15:09:50-05:00"^^dt:dateTime .
@prefix sioc:	<http://rdfs.org/sioc/ns#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	sioc:id	"76f14aee64f239b456fc63780bf97165" ;
	sioc:link	<http://www.openlinksw.com/blog/kidehen@openlinksw.com/blog/?id=1095> ;
	sioc:content	"A quick dump that demonstrates how I integrate tags and links from del.icio.us with links from my local bookmark database via one of my public Data Spaces (this demo uses the kidehen Data Space).\n\n\nSPARQL (query language for the Semantic Web) basically enables me to query a collection of typed links (predicates/properties/attributes) in my Data Space (ODS based of course) without breaking my existing local bookmarks database or the one I maintain at del.icio.us.\n\nI am also demonstrating how Web 2.0 concepts such as Tagging mesh nicely with the more formal concepts of Topics in the Semantic Web realm. The key to all of this is the ability to generate RDF Data Model Instance Data based on Shared Ontologies such as SIOC (from DERI&amp;#39;s SIOC Project) and SKOS (again showing that Ontologies and Folksonomies are complimentary).\n\nThis demo also shows that Ajax also works well in the Semantic Web realm (or web dimension of interaction 3.0) especially when you have a toolkit with Data Aware controls (for SQL, RDF, and XML) such as OAT (OpenLink Ajax Toolkit). For instance, we&amp;#39;ve successfully used this to build a Visual Query Building Tool for SPARQL (alpha) that really takes a lot of the pain out of constructing SPARQL Queries (there is much more to come on this front re. handling of DISTINCT, FILTER, ORDER BY etc..). \n\nFor now, take a look at the SPARQL Query dump generated by this SIOC &amp;amp; SKOS SPARQL QBE Canvas Screenshot. \n\nYou can cut and paste the queries that follow into the Query Builder or use the screenshot to build your variation of this query sample. Alternatively, you can simply click on *This* SPARQL Protocol URL to see the query results in a basic HTML Table. And one last thing, you can grab the SPARQL Query File saved into my ODS-Briefcase (the WebDAV repository aspect of my Data Space).\n\n\n\nNote the following SPARQL Protocol Endpoints:\n\n\n\n  MyOpenLink Data Space\n\n\n  Experimental Data Space SPARQL Query Builder (you need to register at http://myopenlink.net:8890/ods to use this version)\n \n  Live Demo Sever\n \n\n  Demo Server SPARQL Query Builder (use: demo for both username and pwd when prompted)\n\n\nMy beautified Version of the SPARQL Generated by QBE (you can cut and paste into &amp;quot;Advanced Query&amp;quot; section of QBE) is presented below:\n\nPREFIX rdf: &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;gt;\nPREFIX sioc: &amp;lt;http://rdfs.org/sioc/ns#&amp;gt;\nPREFIX dct: &amp;lt;http://purl.org/dc/elements/1.1/&amp;gt;\nPREFIX skos: &amp;lt;http://www.w3.org/2004/02/skos/core#&amp;gt;\n\nSELECT distinct \n       ?forum_name, \n       ?owner, \n       ?post, \n       ?title, \n       ?link, \n       ?url, \n       ?tag\nFROM &amp;lt;http://myopenlink.net/dataspace&amp;gt;\nWHERE {\n       ?forum a sioc:Forum;\n                   sioc:type &amp;quot;bookmark&amp;quot;;\n                   sioc:id ?forum_name;\n                   sioc:has_member ?owner.\n       ?owner sioc:id &amp;quot;kidehen&amp;quot;.\n       ?forum sioc:container_of ?post .\n       ?post  dct:title ?title .\n       optional { ?post sioc:link ?link  }\n       optional { ?post sioc:links_to ?url }\n       optional { ?post sioc:topic ?topic.\n                        ?topic a skos:Concept;\n                                  skos:prefLabel ?tag}.\n     } \n\nUnmodified dump from the QBE (this will be beautified automatically in due course by the QBE):\n\n\nPREFIX rdf: &amp;lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&amp;gt;\nPREFIX sioc: &amp;lt;http://rdfs.org/sioc/ns#&amp;gt;\nPREFIX dct: &amp;lt;http://purl.org/dc/elements/1.1/&amp;gt;\nPREFIX skos: &amp;lt;http://www.w3.org/2004/02/skos/core#&amp;gt;\n\nSELECT ?var8 ?var9 ?var13 ?var14 ?var24 ?var27 ?var29 ?var54 ?var56\nWHERE\n{\ngraph ?graph {\n ?var8 rdf:type sioc:Forum .\n ?var8 sioc:container_of ?var9 .\n ?var8 sioc:type &amp;quot;bookmark&amp;quot; .\n ?var8 sioc:id ?var54 .\n ?var8 sioc:has_member ?var56 .\n ?var9 rdf:type sioc:Post .\n OPTIONAL {?var9 dc:title ?var13} .\n OPTIONAL {?var9 sioc:links_to ?var14} .\n OPTIONAL {?var9 sioc:link ?var29} .\n ?var9 sioc:has_creator ?var37 .\n OPTIONAL {?var9 sioc:topic ?var24} .\n ?var24 rdf:type skos:Concept .\n OPTIONAL {?var24 skos:prefLabel ?var27} .\n ?var56 rdf:type sioc:User .\n ?var56 sioc:id &amp;quot;kidehen&amp;quot; .\n }\n} \n\n\n\nCurrent missing items re. Visual QBE for SPARQL are:\n\n\nAbility to Save properly to WebDAV so that I can then expose various saved SPARQL Queries (.rq file) from my Data Space via URIs\n\n\nHandling of DISTINCT, FILTERS (note: OPTIONAL is handled via dotted predicate-links)\n\nGeneral tidying up re. click event handling etc.\n\n\n\nNote:\nYou can even open up your own account (using our Live Demo or Live Experiment Data Space servers) which enables you to repeat this demo by doing the following (post registration/sign-up):\n\n\nExport some bookmarks from your local browser to the usual HTML bookmarks dump file\nCreate an ODS-Bookmarks Instance using your new ODS account\nUse the ODS-Bookmark Instance to import your local bookmarks from the HTML dump file\nRepeat the same import sequence using the ODS-Bookmark Instance, but this time pick the del.icio.us option\nBuild your query (change &amp;#39;kidehen&amp;#39; to your ODS-user-name)\nThat&amp;#39;s it you now have Semantic Web presence in the form of a Data Space for your local and del.icio.us hosted bookmarks with tags integrated\n\n\nQuick Query Builder Tip:\nYou will need to import the following (using the Import Button in the Ontologies &amp;amp; Schemas side-bar); \n\n\n  http://www.w3.org/1999/02/22-rdf-syntax-ns# (RDF)\n\n  http://rdfs.org/sioc/ns# (SIOC)\n\n  http://purl.org/dc/elements/1.1/ (Dublin Core)\n\n  http://www.w3.org/2004/02/skos/core# (SKOS)\n\n\nBrowser Support: The SPARQL QBE is SVG based and currently works fine with the following browsers; Firefox 1.5/2.0, Camino (Cocoa variant of Firefox for Mac OS X), Webkit (Safari pre-release / advanced sibling), Opera 9.x. We are evaluating the use of the Adobe SVG plugin re. IE 6/7 support.\n\nOf course this should be a screencast, but I am the middle of a plethora of things right now :-)\n" ;
	atom:title	"SPARQL, Ajax, Tagging, Folksonomies, Share Ontologies and Semantic Web" .
@prefix ns10:	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	sioc:has_creator	ns10:this ;
	sioc:has_container	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D> ;
	sioc:links_to	sioc: ,
		<http://www.w3.org/TR/rdf-sparql-query/> ,
		<http://sioc-project.org/> ,
		<http://rdfs.org/sioc/spec/> ,
		<http://www.w3.org/TR/rdf-primer/> .
@prefix ns11:	<http://virtuoso.openlinksw.com/wiki/main/Main/> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	sioc:links_to	ns11:OdsIndex ,
		<http://myopenlink.net:8890/sparql/> .
@prefix ns12:	<http://en.wikipedia.org/wiki/> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	sioc:links_to	ns12:Tags ,
		<http://en.wikipedia.org/wiki/Upper_ontology_(computer_science)> ,
		<http://demo.openlinksw.com/sparql/> ,
		<http://dublincore.org/> ,
		<http://demo.openlinksw.com/isparql/> ,
		<http://www.openlinksw.com/blog/~kidehen/?id=1037> .
@prefix ns13:	<http://demo.openlinksw.com/> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	sioc:links_to	ns13:ods ,
		<http://demo.openlinksw.com/DAV/JS/demo/index.html> ,
		<http://myopenlink.net:8890/isparql/> .
@prefix ns14:	<http://myopenlink.net:8890/> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	sioc:links_to	ns14:ods .
@prefix ns15:	<http://myopenlink.net:8890/dataspace/> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	sioc:links_to	ns15:kidehen ,
		<http://myopenlink.net:8890/isparl/> ,
		<http://myopenlink.net:8890/DAV/home/kidehen/SPARQL/tagging_sioc_skos_delicios_my_bookmarks.rq> ,
		<http://myopenlink.net:8890/DAV/home/kidehen/gallery/my_photos/sparql_qbe_sioc_skos_shot1.png> ,
		ns12:WebDAV ,
		<http://en.wikipedia.org/wiki/Web_2.0> ,
		<http://www.w3.org/2004/02/skos/core#> ,
		<http://www.w3.org/TR/2005/WD-swbp-skos-core-guide-20050510/> ,
		<http://www.semanticweb.org/> ,
		<http://www.w3.org/2004/02/skos/> ,
		<http://tomgruber.org/writing/ontology-of-folksonomy.htm> ,
		ns11:OdsBriefcase ,
		<http://myopenlink.net:8890/sparql?default-graph-uri=http%3A%2F%2Fmyopenlink.net%2Fdataspace&query=PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0APREFIX+sioc%3A+++%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fns%23%3E%0D%0APREFIX+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0APREFIX+skos%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0D%0A%0D%0ASELECT+distinct+%3Fforum_name%2C+%3Fowner%2C+%3Fpost%2C+%3Ftitle%2C+%3Flink%2C+%3Furl+%3Ftag%0D%0AFROM+%3Chttp%3A%2F%2Fmyopenlink.net%2Fdataspace%3E%0D%0AWHERE+%7B%0D%0A++++++++%3Fforum+a+sioc%3AForum.%0D%0A++++++++%3Fforum+sioc%3Atype+%22bookmark%22.%0D%0A++++++++%3Fforum+sioc%3Aid+%3Fforum_name.%0D%0A++++++++%3Fforum+sioc%3Ahas_member+%3Fowner.%0D%0A++++++++%3Fowner+sioc%3Aid+%22kidehen%22.%0D%0A++++++++%3Fforum+sioc%3Acontainer_of+%3Fpost+.%0D%0A++++++++%3Fpost++dct%3Atitle+%3Ftitle+.%0D%0A++++++++optional+%7B+%3Fpost+sioc%3Atopic+%3Ftopic.%0D%0A+++++++++++++++++++%3Ftopic+a+skos%3AConcept%3B%0D%0A+++++++++++++++++++++++++skos%3AprefLabel+%3Ftag.+%7D%0D%0A++++++++optional%7B+%3Fpost+sioc%3Alink+%3Flink++%7D+.%0D%0A++++++++optional%7B+%3Fpost+sioc%3Alinks_to+%3Furl+%7D%0D%0A++++++%7D%0D%0AORDER+BY+%3Ftitle&format=text%2Fhtml> ,
		dc: ,
		rdf: ,
		<http://www.w3.org/TR/rdf-sparql-protocol/> ;
	atom:source	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D> ;
	atom:author	ns1:this ;
	atom:published	"2006-12-07T17:35:29Z" ;
	atom:updated	"2006-12-13T20:09:50Z" .
@prefix opl:	<http://www.openlinksw.com/schema/attribution#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095>	opl:isDescribedUsing	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095/sioc.rdf> .
ns10:this	rdf:type	sioc:User .
@prefix rdf:	<http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ns1:	<http://www.openlinksw.com/dataspace/person/kidehen@openlinksw.com#> .
@prefix foaf:	<http://xmlns.com/foaf/0.1/> .
ns1:this	rdf:type	foaf:Person ;
	foaf:made	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095> .
@prefix atom:	<http://atomowl.org/ontologies/atomrdf#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D>	rdf:type	atom:Feed .
@prefix sioct:	<http://rdfs.org/sioc/types#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D>	rdf:type	sioct:Weblog .
@prefix rdfs:	<http://www.w3.org/2000/01/rdf-schema#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D>	rdfs:label	"kidehen@openlinksw.com's BLOG [127] description" .
@prefix sioc:	<http://rdfs.org/sioc/ns#> .
<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D>	sioc:container_of	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095> ;
	atom:entry	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095> ;
	atom:contains	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095> .
@prefix ns7:	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com#> .
ns7:this	rdf:type	sioc:User ;
	sioc:creator_of	<http://www.openlinksw.com/dataspace/kidehen@openlinksw.com/weblog/kidehen@openlinksw.com%27s%20BLOG%20%5B127%5D/1095> .

