Example Usage of ODS Addressbook Controller for Get annotation details


$ curl -i "http://demo.openlinksw.com/ods/api/addressbook.annotation.get?annotation_id=2&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh"
HTTP/1.1 200 OK
Server: Virtuoso/06.02.3129 (Solaris) x86_64-pc-solaris2.10-64  VDB
Connection: Keep-Alive
Date: Wed, 18 May 2011 13:18:21 GMT
Accept-Ranges: bytes
Content-Type: application/sparql-results+xml
Content-Length: 1890

<?xml version="1.0" encoding="utf-8" ?>
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
  <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214/annotation/2">
    <n0pred:modified xmlns:n0pred="http://www.w3.org/2000/10/annotation-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2011-05-18T09:17:14-04:00</n0pred:modified>
  </rdf:Description>
  <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214/annotation/2">
    <n0pred:created xmlns:n0pred="http://www.w3.org/2000/10/annotation-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2011-05-18T09:17:14-04:00</n0pred:created>
  </rdf:Description>
  <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214/annotation/2">
    <n0pred:body xmlns:n0pred="http://www.w3.org/2000/10/annotation-ns#">simple comment2</n0pred:body>
  </rdf:Description>
  <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214/annotation/2">
    <n0pred:has_services xmlns:n0pred="http://rdfs.org/sioc/services#" rdf:resource="http://demo.openlinksw.com/dataspace/services/addressbook/contact/annotation"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214/annotation/2">
    <n0pred:annotates xmlns:n0pred="http://www.w3.org/2000/10/annotation-ns#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214/annotation/2">
    <n0pred:author xmlns:n0pred="http://www.w3.org/2000/10/annotation-ns#">Jane</n0pred:author>
  </rdf:Description>
</rdf:RDF>

Related