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

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

PrefixNamespace IRI
n13http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleBookmarks/ob4.
n17http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleBookmarks/o1.
dctermshttp://purl.org/dc/terms/
n28http://demo.openlinksw.com/ods/oauth_test.
n26http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtOAuthTestToolExampleBookmarks/sioc.
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n23http://vos.openlinksw.com/dataspace/services/wiki/
n19http://www.openlinksw.com/blog/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n15http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleBookmarks/ob1.
dchttp://purl.org/dc/elements/1.1/
n8http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n22http://rdfs.org/sioc/services#
n11http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleBookmarks/ob3.
n21http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n5http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n10http://demo.openlinksw.com/
n18http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n4http://demo.openlinksw.com/ods/
n16http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleBookmarks/ob2.
n7http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
n27http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n21:this
foaf:made
n2:VirtOAuthTestToolExampleBookmarks
Subject Item
n8:this
sioc:creator_of
n2:VirtOAuthTestToolExampleBookmarks
Subject Item
n23:item
n22:services_of
n2:VirtOAuthTestToolExampleBookmarks
Subject Item
n18:this
sioc:creator_of
n2:VirtOAuthTestToolExampleBookmarks
Subject Item
n5:VOS
sioc:container_of
n2:VirtOAuthTestToolExampleBookmarks
atom:entry
n2:VirtOAuthTestToolExampleBookmarks
atom:contains
n2:VirtOAuthTestToolExampleBookmarks
Subject Item
n2:VirtOAuthTestTool
sioc:links_to
n2:VirtOAuthTestToolExampleBookmarks
Subject Item
n2:VirtOAuthTestToolExampleBookmarks
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:41:59.618015
dcterms:modified
2017-06-13T05:41:59.618015
rdfs:label
VirtOAuthTestToolExampleBookmarks
foaf:maker
n21:this n27:this
dc:title
VirtOAuthTestToolExampleBookmarks
opl:isDescribedUsing
n26:rdf
sioc:has_creator
n18:this n8:this
sioc:attachment
n11:png n13:png n15:png n16:png n17:png
sioc:content
%VOSWARNING% ---++Bookmark OAuth REST API Example performed with the Virtuoso OAuth Testing Tool The following example demonstrates adding and getting bookmark info by the ODS REST APIs *bookmark.new* and *bookmark.get* using the OAuth Test Tool. Full list of the ODS REST APIs for ODS Bookmark you can find [[VirtuosoOdsControllersBookmarks][here]]. 1. Go to http://demo.openlinksw.com/ods 1. Log in as user demo with password demo 1. Go to Settings->OAuth Keys * <img src="%ATTACHURLPATH%/o1.png" style="wikiautogen"/> 1. Copy the Token value for an Bookmark instance or create such in not existing. For ex.: 3c9dc72d97a67e4f4dbd5d36e4dae0bda32ebdf1 1. Go to http://demo.openlinksw.com/ods/oauth_test.vsp 1. In the shown form enter for: 1. *Server*: http://demo.openlinksw.com/ods/api 1. *Consumer Key*: 3c9dc72d97a67e4f4dbd5d36e4dae0bda32ebdf1 1. *API method*: bookmark.new 1. *API parameters*: inst_id=7&uri=http://www.openlinksw.com/blog/~kidehen&name=Kingsley Idehen's Weblog * An easy way to get the instance id is using the [[VirtuosoOdsUbiquity][ODS ubiquity commands]] sequence: <verbatim> ods-host http://demo.openlinksw.com/ods ods-set-mode sid ods-authenticate-user demo password demo ods-get-instance-id mybookmarks </verbatim> 1. Select for *Query options*: "Generate URI and Submit". * <img src="%ATTACHURLPATH%/ob1.png" style="wikiautogen"/> 1. Click the "Execute" button. 1. Enter the password for user demo and click the "Login" button. 1. In the shown authorization form click the "Authorize" button. * <img src="%ATTACHURLPATH%/ob2.png" style="wikiautogen"/> 1. As result will be shown the generated URI and the output message of executing the ODS REST API. In our case, the id of the new created bookmark will be: 1989 * <img src="%ATTACHURLPATH%/ob3.png" style="wikiautogen"/> 1. Now lets get the data for the created bookmark. In the form enter: 1. *API method*: bookmark.get 1. *API parameters*: bookmark_id=1989 1. Select for *Query options*: "Generate URI and Submit". 1. Click the "Execute" button. 1. As result in the "Response Body" text-area will be shown the retrieved details for the bookmark with the given above id. * <img src="%ATTACHURLPATH%/ob4.png" style="wikiautogen"/> CategoryBookmark CategoryODS
sioc:id
23ddc204192f432d6dbaa4766867bb9c
sioc:link
n2:VirtOAuthTestToolExampleBookmarks
sioc:has_container
n5:VOS
n22:has_services
n23:item
atom:title
VirtOAuthTestToolExampleBookmarks
sioc:links_to
n4:api n7:VirtuosoOdsControllersBookmarks n10:ods n2:CategoryODS n7:VirtuosoOdsUbiquity n19: n7:CategoryBookmark n28:vsp
atom:source
n5:VOS
atom:author
n21:this
atom:published
2017-06-13T05:41:59Z
atom:updated
2017-06-13T05:41:59Z
sioc:topic
n5:VOS