<docbook><section><title>VirtuosoOdsControllersAddressbookEx1</title><title>Example Usage of ODS Addressbook Controller for Get contact details</title>Example Usage of ODS Addressbook Controller for Get contact details
<programlisting>$ curl -i &quot;http://demo.openlinksw.com/ods/api/addressbook.get?contact_id=2214&amp;user_name=demo&amp;password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh&quot;
HTTP/1.1 200 OK
Server: Virtuoso/06.02.3129 (Solaris) x86_64-pc-solaris2.10-64  VDB
Connection: Keep-Alive
Date: Tue, 17 May 2011 13:10:09 GMT
Accept-Ranges: bytes
Content-Type: application/sparql-results+xml
Content-Length: 6933

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:rdfs=&quot;http://www.w3.org/2000/01/rdf-schema#&quot;&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;vcard:BDAY xmlns:vcard=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot;&gt;1978-05-12&lt;/vcard:BDAY&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;foaf:maker xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/person/demo#this&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;vcard:UID xmlns:vcard=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/socialnetwork/demo%27s%20AddressBook/2214#this&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;vcard:N xmlns:vcard=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214#n&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;n0pred:created xmlns:n0pred=&quot;http://purl.org/dc/terms/&quot; rdf:datatype=&quot;http://www.w3.org/2001/XMLSchema#dateTime&quot;&gt;2011-05-17T08:57:20-04:00&lt;/n0pred:created&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;rdfs:label&gt;john&lt;/rdfs:label&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;rdf:type rdf:resource=&quot;http://www.w3.org/2001/vcard-rdf/3.0#vCard&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;n0pred:modified xmlns:n0pred=&quot;http://purl.org/dc/terms/&quot; rdf:datatype=&quot;http://www.w3.org/2001/XMLSchema#dateTime&quot;&gt;2011-05-17T08:57:20-04:00&lt;/n0pred:modified&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;sioc:has_container xmlns:sioc=&quot;http://rdfs.org/sioc/ns#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;atom:title xmlns:atom=&quot;http://atomowl.org/ontologies/atomrdf#&quot;&gt;john&lt;/atom:title&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;sioc:link xmlns:sioc=&quot;http://rdfs.org/sioc/ns#&quot; rdf:resource=&quot;http://demo.openlinksw.com:80/addressbook/15/home.vspx?id=2214&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;sioc:has_creator xmlns:sioc=&quot;http://rdfs.org/sioc/ns#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo#this&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;vcard:NICKNAME xmlns:vcard=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot;&gt;john&lt;/vcard:NICKNAME&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;atom:published xmlns:atom=&quot;http://atomowl.org/ontologies/atomrdf#&quot;&gt;2011-05-17T12:57:20Z&lt;/atom:published&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;rdf:type rdf:resource=&quot;http://atomowl.org/ontologies/atomrdf#Entry&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;atom:updated xmlns:atom=&quot;http://atomowl.org/ontologies/atomrdf#&quot;&gt;2011-05-17T12:57:20Z&lt;/atom:updated&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;atom:author xmlns:atom=&quot;http://atomowl.org/ontologies/atomrdf#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/person/demo#this&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;dc:title xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;&gt;john&lt;/dc:title&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;opl:isDescribedUsing xmlns:opl=&quot;http://www.openlinksw.com/schema/attribution#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214/sioc.rdf&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;vcard:FN xmlns:vcard=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot;&gt;John Smith&lt;/vcard:FN&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;sioc:topic xmlns:sioc=&quot;http://rdfs.org/sioc/ns#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/tag/SPARQL&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;sioc:topic xmlns:sioc=&quot;http://rdfs.org/sioc/ns#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/tag/Sponger&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;vcard:EMAIL xmlns:vcard=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214#email_pref&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;atom:source xmlns:atom=&quot;http://atomowl.org/ontologies/atomrdf#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;sioc:topic xmlns:sioc=&quot;http://rdfs.org/sioc/ns#&quot; rdf:resource=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/tag/RDF&quot;/&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;vcard:CATEGORIES xmlns:vcard=&quot;http://www.w3.org/2001/vcard-rdf/3.0#&quot;&gt;Sponger,RDF,SPARQL&lt;/vcard:CATEGORIES&gt;
  &lt;/rdf:Description&gt;
  &lt;rdf:Description rdf:about=&quot;http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214&quot;&gt;
    &lt;sioc:id xmlns:sioc=&quot;http://rdfs.org/sioc/ns#&quot;&gt;4c8353e6aca03fa70056e959d7ae6ff9&lt;/sioc:id&gt;
  &lt;/rdf:Description&gt;
&lt;/rdf:RDF&gt;
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Related</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtuosoOdsControllersAddressbook">Addressbook Controllers</ulink> </listitem>
</itemizedlist></section></docbook>