This HTML5 document contains 47 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
n14http://simile.mit.edu/semantic-bank/
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n11http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n10http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n12http://rdfs.org/sioc/services#
n8http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n15http://simile.mit.edu/piggy-bank/
n6http://vos.openlinksw.com/dataspace/owiki/wiki/
n25http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VOSSemanticBank/sioc.
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n26http://demo.openlinksw.com/
n19http://www.openlinksw.com/weblogs/virtuoso/
n17http://vos.openlinksw.com/dataspace/owiki#
n21http://simile.mit.edu/piggy-bank/install.
n18http://simile.org/piggybank/(user_name).
xsdhhttp://www.w3.org/2001/XMLSchema#
n16http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
n20http://demo.openlinksw.com/bank/
n23http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
n27http://simile.org/piggybank/
Subject Item
n8:this
foaf:made
n2:VOSSemanticBank
Subject Item
n10:this
sioc:creator_of
n2:VOSSemanticBank
Subject Item
n11:item
n12:services_of
n2:VOSSemanticBank
Subject Item
n17:this
sioc:creator_of
n2:VOSSemanticBank
Subject Item
n6:VOS
sioc:container_of
n2:VOSSemanticBank
atom:entry
n2:VOSSemanticBank
atom:contains
n2:VOSSemanticBank
Subject Item
n2:VirtRDFInsert
sioc:links_to
n2:VOSSemanticBank
Subject Item
n2:VOSSemanticBank
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:39:34.386092
dcterms:modified
2017-06-29T07:35:29.260239
rdfs:label
VOSSemanticBank
foaf:maker
n8:this n23:this
dc:title
VOSSemanticBank
opl:isDescribedUsing
n25:rdf
sioc:has_creator
n10:this n17:this
sioc:content
%VOSWARNING% %META:TOPICINFO{author="RumiTsekova" date="1166028652" format="1.1" version="1.1"}% %VOSNAV% ---++ Semantic Bank Services Virtuoso implements the HTTP-based [[http://simile.mit.edu/semantic-bank/][Semantic Bank]] API that enables client applications to post to its RDF Triple Store. This method offers an alternative to using Virtuoso/PL functions or WebDAV uploads as the triples-insertion mechanism. _Semantic Bank_ was developed by MIT's SIMILE project as a back-end for its RDF content-scraper, [[http://simile.mit.edu/piggy-bank/][PiggyBank]]. ---+++ What is PiggyBank? PiggyBank is a FireFox plug-in which enables end-users to discover RDF content embedded within Web pages. Discovered content can then be deposited, through the Semantic Bank API, into local or remote RDF data servers known as "Semantic Banks". ---+++ Semantic Bank Service Configuration and Usage Virtuoso's Semantic Bank Service is exposed via the endpoint /bank/ . For example, the server at http://demo.openlinksw.com/ exposes its Semantic Bank services at http://demo.openlinksw.com/bank/ . ---++++ Setting-Up the PiggyBank FireFox plug-in To set up the plug-in, follow the steps below. 1 Install the [[http://simile.mit.edu/piggy-bank/install.html][Piggybank plugin]] 1 restart FireFox 1 open _Tools_ >> _PiggyBank_ >> _My Semantic Bank Accounts_ 1 The presented form should initially be empty. Click the _Add_ button, and enter http://&lt;cname&gt;/bank/ for the Virtuoso's PiggyBank service endpoint, with a valid Virtuoso or ODS account username and password, where &lt;cname&gt; is the host:port of your Virtuoso server. 1 Confirm the changes. _Note that on some Linux version of FireFox have skewed locations for the *confirmation* button which is often out of sight without resizing the dialog_. ---++++ Working with PiggyBank plug-in Using the plug-in is simple. 1 Open a web page and then do one of the following: * press Alt-P, * go to _Tools_, _PiggyBank_, _Browse tidbits_ on this page, or click on the RDF icon in the bottom-right part of your browser status bar. 1 Once the RDF data is discovered and retrieved, you are then presented with a visually intuitive insight into the extracted RDF data. At this point, you can either: * Save - to the local RDF repository (plug-in), or * Publish - to a Semantic Bank ---++++ Exploiting Semantic Bank Data As stated above, a Semantic Bank is either an RDF data-store in its own right, or a gateway to such an RDF Data Store. In the case of Virtuoso-based Semantic Banks, you access your <nop>PiggyBank-generated RDF data via Virtuoso's built-in support for SPARQL. When querying your Semantic Bank's RDF Data via SPARQL, it is important to note that the RDF Data Set (Graph) Name for PiggyBank generated data is : http://simile.org/piggybank/(user_name). This is especially important since a Virtuoso RDF data-store would typically host numerous RDF Graphs. ---++++ Sample SPARQL queries In the following examples, PiggyBank is used to discover RDF data available from the [[http://www.openlinksw.com/weblogs/virtuoso/][Virtuoso Weblog]]. 1. Retrieve the titles of the posts based on the SIOC ontology <verbatim> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix sioc: <http://rdfs.org/sioc/ns#> select ?title where { graph <http://simile.org/piggybank/[virtuoso-user-name|ods-member-name]> { ?s rdf:type sioc:Post . ?s sioc:title ?title } }; </verbatim> 2. Retrieve posts ordered by date of publishing, newest first <verbatim> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix sioc: <http://rdfs.org/sioc/ns#> select ?title, ?created where { graph <http://simile.org/piggybank/[virtuoso-user-name|ods-member-name]> { ?s rdf:type sioc:Post . ?s sioc:title ?title . ?s sioc:created_at ?created } } order by desc (?created); </verbatim> 3. Retrieve forum names (Weblog instance names) to which collected posts belong: <verbatim> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix sioc: <http://rdfs.org/sioc/ns#> select distinct ?title where { graph <http://simile.org/piggybank/[virtuoso-user-name|ods-member-name]> { ?s rdf:type sioc:Post . ?s sioc:has_container ?container . ?container sioc:name ?title } }; </verbatim> 4. Retrieve all Persons (name and e-mail address where specified) which are mentioned, using the FOAF ontology: <verbatim> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix foaf: <http://xmlns.com/foaf/0.1/> select ?name ?mbox where { graph <http://simile.org/piggybank/[virtuoso-user-name|ods-member-name]> { ?s rdf:type foaf:Person . ?s foaf:name ?name optional { ?s foaf:mbox ?mbox } } }; </verbatim> ---+++Sample Example 1. From your machine go to FireFox->Tools->PiggyBank->My Semantic Bank Accounts 2. Add in the shown form: 1. For bank: address: http://demo.openlinksw.com/bank 2. For account id: demo 3. For password: demo 3. Go to demo.openlinksw.com/ods 4. Log in as user demo, password: demo 5. Go to the Weblog tab from the main ODS Navigation 6. Click the "MyBlog" instance name. 7. When the weblog home page is loaded, click Alt + P. 8. As result is shown the "My PiggyBank" page with all the collected information presented in items. 9. For several of the items add Tags from the form "Tag" shown for each of them. 10. As result should be shown the message "Last updated: [here goes the date value]. 11. You can also click "Save" and "Publish" for these items. 12. Go to http://demo.openlinksw.com/sparql 13. Enter for the "Default Graph URI" field: http://simile.org/piggybank/demo 14. Enter for the "Query text" text-area: <verbatim> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix sioc: <http://rdfs.org/sioc/ns#> select * from <http://simile.org/piggybank/demo> where {?s ?p ?o} </verbatim> 15. Click "Run Query". 16. As results are shown the found results. %VOSCOPY% CategoryWebSite CategoryVirtuoso CategoryOpenSource %META:TOPICMOVED{by="TimHaynes" date="1154595850" from="Main.VOSPiggy" to="Main.VOSSemanticBank"}%
sioc:id
d7d3a373985c921fa047a7cfe5a17064
sioc:link
n2:VOSSemanticBank
sioc:has_container
n6:VOS
n12:has_services
n11:item
atom:title
VOSSemanticBank
sioc:links_to
n14: n15: n16:MyBlog n18: n19: n20: n21:html n2:WebDAV n2:CategoryWebSite n2:CategoryVirtuoso n16:PiggyBank n2:CategoryOpenSource n16:FireFox n26:sparql n27:demo n26: n26:bank
atom:source
n6:VOS
atom:author
n8:this
atom:published
2017-06-13T05:39:34Z
atom:updated
2017-06-29T07:35:29Z
sioc:topic
n6:VOS