<docbook><section><title>VirtuosoOdsControllersUserEx7</title><bridgehead class="http://www.w3.org/1999/xhtml:h2">Example Usage of ODS Framework Controller for User Get</bridgehead>
<programlisting>$ curl -i &quot;http://demo.openlinksw.com/ods/api/user.get?name=test123&quot;
HTTP/1.1 200 OK
Server: Virtuoso/05.12.3041 (Solaris) x86_64-sun-solaris2.10-64  VDB
Connection: Keep-Alive
Date: Mon, 28 Dec 2009 22:56:30 GMT
Accept-Ranges: bytes
Content-Type: application/sparql-results+xml
Content-Length: 3021

&lt;sparql xmlns=&quot;http://www.w3.org/2005/sparql-results#&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://www.w3.org/200
1/sw/DataAccess/rf1/result2.xsd&quot;&gt;
 &lt;head&gt;
  &lt;variable name=&quot;user&quot;/&gt;
  &lt;variable name=&quot;property&quot;/&gt;
  &lt;variable name=&quot;value&quot;/&gt;
 &lt;/head&gt;
 &lt;results distinct=&quot;false&quot; ordered=&quot;true&quot;&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;uri&gt;http://rdfs.org/sioc/ns#User&lt;/uri&gt;&lt;/binding&gt;
  &lt;/result&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;uri&gt;http://www.w3.org/2000/01/rdf-schema#Resource&lt;/uri&gt;&lt;/binding&gt;
  &lt;/result&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://www.openlinksw.com/schema/attribution#isDescribedUsing&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123/sioc.rdf&lt;/uri&gt;&lt;/binding&gt;
  &lt;/result&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://rdfs.org/sioc/services#has_service&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/feeds/people/test123&lt;/uri&gt;&lt;/binding&gt;
  &lt;/result&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://rdfs.org/sioc/services#has_service&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/feeds/people/test123/friends&lt;/uri&gt;&lt;/binding&gt;
  &lt;/result&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://rdfs.org/sioc/ns#account_of&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/person/test123#this&lt;/uri&gt;&lt;/binding&gt;
  &lt;/result&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://rdfs.org/sioc/ns#email_sha1&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;literal&gt;SetXcVDiHuMYAiSgEe38MQrMN3k=&lt;/literal&gt;&lt;/binding&gt;
  &lt;/result&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://rdfs.org/sioc/ns#id&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;literal&gt;test123&lt;/literal&gt;&lt;/binding&gt;
  &lt;/result&gt;
  &lt;result&gt;
   &lt;binding name=&quot;user&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123#this&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;property&quot;&gt;&lt;uri&gt;http://rdfs.org/sioc/ns#link&lt;/uri&gt;&lt;/binding&gt;
   &lt;binding name=&quot;value&quot;&gt;&lt;uri&gt;http://demo.openlinksw.com/dataspace/test123&lt;/uri&gt;&lt;/binding&gt;
  &lt;/result&gt;
 &lt;/results&gt;
</programlisting></section></docbook>