VOS.VirtGoogleVocabExamples

  • Topic
  • Discussion
  • VOS.VirtGoogleVocabExamples(Last) -- DAVWikiAdmin? , 2017-06-29 07:37:29 Edit WebDAV System Administrator 2017-06-29 03:37:29

    Virtuoso Mapping Ontology for Google: Examples

    Sample Curl Example I

    Executing the curl command:


    curl -i -L -H "Accept: application/rdf+xml" http://www.openlinksw.com/schemas/external/googlevocab/name
    

    shows the following result:


    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
    
    <?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://www.openlinksw.com/schemas/external/googlevocab/name"><rdfs:domain rdf:resource="http://www.w3.org/2002/07/owl#Thing"/></rdf:Description>
    <rdf:Description rdf:about="http://www.openlinksw.com/schemas/external/googlevocab/name"><rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/></rdf:Description>
    <rdf:Description rdf:about="http://rdf.data-vocabulary.org#name"><owl:equivalentProperty xmlns:owl="http://www.w3.org/2002/07/owl#" rdf:resource="http://www.openlinksw.com/schemas/external/googlevocab/name"/></rdf:Description>
    <rdf:Description rdf:about="http://www.openlinksw.com/schemas/external/googlevocab/name"><rdfs:isDefinedBy rdf:resource="http://www.openlinksw.com/schemas/external/googlevocab/"/></rdf:Description>
    <rdf:Description rdf:about="http://www.openlinksw.com/schemas/external/googlevocab/name"><rdfs:subPropertyOf rdf:resource="http://xmlns.com/foaf/0.1/name"/></rdf:Description>
    <rdf:Description rdf:about="http://rdf.data-vocabulary.org/#name"><owl:equivalentProperty xmlns:owl="http://www.w3.org/2002/07/owl#" rdf:resource="http://www.openlinksw.com/schemas/external/googlevocab/name"/></rdf:Description>
    <rdf:Description rdf:about="http://www.openlinksw.com/schemas/external/googlevocab/name"><rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/></rdf:Description>
    <rdf:Description rdf:about="http://rdf.data-vocabulary.org/name"><owl:equivalentProperty xmlns:owl="http://www.w3.org/2002/07/owl#" rdf:resource="http://www.openlinksw.com/schemas/external/googlevocab/name"/></rdf:Description>
    </rdf:RDF>
    

    Sample Curl Example II

    Executing the curl command:


    curl -i -L -H "Accept: text/rdf+n3" http://www.openlinksw.com/schemas/external/googlevocab/name
    

    shows the following result:


    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:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix ns1:    <http://www.openlinksw.com/schemas/external/googlevocab/> .
    ns1:name        rdf:type        rdf:Property .
    @prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix owl:    <http://www.w3.org/2002/07/owl#> .
    ns1:name        rdfs:domain     owl:Thing ;
            rdfs:range      rdfs:Literal ;
            rdfs:isDefinedBy        ns1: .
    @prefix foaf:   <http://xmlns.com/foaf/0.1/> .
    ns1:name        rdfs:subPropertyOf      foaf:name .
    @prefix ns5:    <http://rdf.data-vocabulary.org#> .
    ns5:name        owl:equivalentProperty  ns1:name .
    @prefix ns6:    <http://rdf.data-vocabulary.org/#> .
    ns6:name        owl:equivalentProperty  ns1:name .
    @prefix ns7:    <http://rdf.data-vocabulary.org/> .
    ns7:name        owl:equivalentProperty  ns1:name .
    

    Related