Example Usage of ODS Addressbook Controller for Get contact details
$ curl -i "http://demo.openlinksw.com/ods/api/addressbook.get?contact_id=2214&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: Tue, 17 May 2011 13:10:09 GMT Accept-Ranges: bytes Content-Type: application/sparql-results+xml Content-Length: 6933 <?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"> <vcard:BDAY xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">1978-05-12</vcard:BDAY> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <foaf:maker xmlns:foaf="http://xmlns.com/foaf/0.1/" rdf:resource="http://demo.openlinksw.com/dataspace/person/demo#this"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <vcard:UID xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/socialnetwork/demo%27s%20AddressBook/2214#this"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <vcard:N xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214#n"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <n0pred:created xmlns:n0pred="http://purl.org/dc/terms/" rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2011-05-17T08:57:20-04:00</n0pred:created> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <rdfs:label>john</rdfs:label> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#vCard"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <n0pred:modified xmlns:n0pred="http://purl.org/dc/terms/" rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2011-05-17T08:57:20-04:00</n0pred:modified> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <sioc:has_container xmlns:sioc="http://rdfs.org/sioc/ns#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <atom:title xmlns:atom="http://atomowl.org/ontologies/atomrdf#">john</atom:title> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <sioc:link xmlns:sioc="http://rdfs.org/sioc/ns#" rdf:resource="http://demo.openlinksw.com:80/addressbook/15/home.vspx?id=2214"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <sioc:has_creator xmlns:sioc="http://rdfs.org/sioc/ns#" rdf:resource="http://demo.openlinksw.com/dataspace/demo#this"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <vcard:NICKNAME xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">john</vcard:NICKNAME> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <atom:published xmlns:atom="http://atomowl.org/ontologies/atomrdf#">2011-05-17T12:57:20Z</atom:published> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <rdf:type rdf:resource="http://atomowl.org/ontologies/atomrdf#Entry"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <atom:updated xmlns:atom="http://atomowl.org/ontologies/atomrdf#">2011-05-17T12:57:20Z</atom:updated> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <atom:author xmlns:atom="http://atomowl.org/ontologies/atomrdf#" rdf:resource="http://demo.openlinksw.com/dataspace/person/demo#this"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">john</dc:title> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <opl:isDescribedUsing xmlns:opl="http://www.openlinksw.com/schema/attribution#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214/sioc.rdf"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <vcard:FN xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">John Smith</vcard:FN> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <sioc:topic xmlns:sioc="http://rdfs.org/sioc/ns#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/tag/SPARQL"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <sioc:topic xmlns:sioc="http://rdfs.org/sioc/ns#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/tag/Sponger"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <vcard:EMAIL xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214#email_pref"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <atom:source xmlns:atom="http://atomowl.org/ontologies/atomrdf#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <sioc:topic xmlns:sioc="http://rdfs.org/sioc/ns#" rdf:resource="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/tag/RDF"/> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <vcard:CATEGORIES xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">Sponger,RDF,SPARQL</vcard:CATEGORIES> </rdf:Description> <rdf:Description rdf:about="http://demo.openlinksw.com/dataspace/demo/addressbook/demo%27s%20AddressBook/2214"> <sioc:id xmlns:sioc="http://rdfs.org/sioc/ns#">4c8353e6aca03fa70056e959d7ae6ff9</sioc:id> </rdf:Description> </rdf:RDF>