<docbook><section><title>VirtGoogleVocabExamples</title><bridgehead class="http://www.w3.org/1999/xhtml:h2">Virtuoso Mapping Ontology for Google: Examples</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">Sample Curl Example I</bridgehead>
<para>Executing the curl command:</para>
<programlisting>curl -i -L -H &quot;Accept: application/rdf+xml&quot; http://www.openlinksw.com/schemas/external/googlevocab/name
</programlisting><para> shows the following result:</para>
<programlisting>HTTP/1.1 303 See Other
Server: Virtuoso/05.10.3038 (Linux) i686-generic-linux-glibc23-32  VDB
Connection: close
Content-Type: text/html; charset=UTF-8
Date: Mon, 18 May 2009 11:36:12 GMT
Accept-Ranges: bytes
Location: http://www.openlinksw.com/schemas/external/googlevocab/name.xml
Content-Length: 0

HTTP/1.1 200 OK
Server: Virtuoso/05.10.3038 (Linux) i686-generic-linux-glibc23-32  VDB
Connection: Keep-Alive
Date: Mon, 18 May 2009 11:36:13 GMT
Accept-Ranges: bytes
Content-Type: application/rdf+xml; charset=UTF-8
Content-Length: 1762

&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://www.openlinksw.com/schemas/external/googlevocab/name&quot;&gt;&lt;rdfs:domain rdf:resource=&quot;http://www.w3.org/2002/07/owl#Thing&quot;/&gt;&lt;/rdf:Description&gt;
&lt;rdf:Description rdf:about=&quot;http://www.openlinksw.com/schemas/external/googlevocab/name&quot;&gt;&lt;rdf:type rdf:resource=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#Property&quot;/&gt;&lt;/rdf:Description&gt;
&lt;rdf:Description rdf:about=&quot;http://rdf.data-vocabulary.org#name&quot;&gt;&lt;owl:equivalentProperty xmlns:owl=&quot;http://www.w3.org/2002/07/owl#&quot; rdf:resource=&quot;http://www.openlinksw.com/schemas/external/googlevocab/name&quot;/&gt;&lt;/rdf:Description&gt;
&lt;rdf:Description rdf:about=&quot;http://www.openlinksw.com/schemas/external/googlevocab/name&quot;&gt;&lt;rdfs:isDefinedBy rdf:resource=&quot;http://www.openlinksw.com/schemas/external/googlevocab/&quot;/&gt;&lt;/rdf:Description&gt;
&lt;rdf:Description rdf:about=&quot;http://www.openlinksw.com/schemas/external/googlevocab/name&quot;&gt;&lt;rdfs:subPropertyOf rdf:resource=&quot;http://xmlns.com/foaf/0.1/name&quot;/&gt;&lt;/rdf:Description&gt;
&lt;rdf:Description rdf:about=&quot;http://rdf.data-vocabulary.org/#name&quot;&gt;&lt;owl:equivalentProperty xmlns:owl=&quot;http://www.w3.org/2002/07/owl#&quot; rdf:resource=&quot;http://www.openlinksw.com/schemas/external/googlevocab/name&quot;/&gt;&lt;/rdf:Description&gt;
&lt;rdf:Description rdf:about=&quot;http://www.openlinksw.com/schemas/external/googlevocab/name&quot;&gt;&lt;rdfs:range rdf:resource=&quot;http://www.w3.org/2000/01/rdf-schema#Literal&quot;/&gt;&lt;/rdf:Description&gt;
&lt;rdf:Description rdf:about=&quot;http://rdf.data-vocabulary.org/name&quot;&gt;&lt;owl:equivalentProperty xmlns:owl=&quot;http://www.w3.org/2002/07/owl#&quot; rdf:resource=&quot;http://www.openlinksw.com/schemas/external/googlevocab/name&quot;/&gt;&lt;/rdf:Description&gt;
&lt;/rdf:RDF&gt;
</programlisting><bridgehead class="http://www.w3.org/1999/xhtml:h3">Sample Curl Example II</bridgehead>
<para>Executing the curl command:</para>
<programlisting>curl -i -L -H &quot;Accept: text/rdf+n3&quot; http://www.openlinksw.com/schemas/external/googlevocab/name
</programlisting><para> shows the following result:</para>
<programlisting>HTTP/1.1 303 See Other
Server: Virtuoso/05.10.3038 (Linux) i686-generic-linux-glibc23-32  VDB
Connection: close
Content-Type: text/html; charset=UTF-8
Date: Mon, 18 May 2009 11:37:43 GMT
Accept-Ranges: bytes
Location: http://www.openlinksw.com/schemas/external/googlevocab/name.n3
Content-Length: 0

HTTP/1.1 200 OK
Server: Virtuoso/05.10.3038 (Linux) i686-generic-linux-glibc23-32  VDB
Connection: Keep-Alive
Date: Mon, 18 May 2009 11:37:44 GMT
Accept-Ranges: bytes
Content-Type: text/rdf+n3; charset=UTF-8
Content-Length: 717

@prefix rdf:    &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
@prefix ns1:    &lt;http://www.openlinksw.com/schemas/external/googlevocab/&gt; .
ns1:name        rdf:type        rdf:Property .
@prefix rdfs:   &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
@prefix owl:    &lt;http://www.w3.org/2002/07/owl#&gt; .
ns1:name        rdfs:domain     owl:Thing ;
        rdfs:range      rdfs:Literal ;
        rdfs:isDefinedBy        ns1: .
@prefix foaf:   &lt;http://xmlns.com/foaf/0.1/&gt; .
ns1:name        rdfs:subPropertyOf      foaf:name .
@prefix ns5:    &lt;http://rdf.data-vocabulary.org#&gt; .
ns5:name        owl:equivalentProperty  ns1:name .
@prefix ns6:    &lt;http://rdf.data-vocabulary.org/#&gt; .
ns6:name        owl:equivalentProperty  ns1:name .
@prefix ns7:    &lt;http://rdf.data-vocabulary.org/&gt; .
ns7:name        owl:equivalentProperty  ns1:name .
</programlisting><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Related</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="VirtGoogleVocab">Virtuoso Mapping Ontology for Google</ulink> </listitem>
</itemizedlist></section></docbook>