VOS.SIOCRefAddressbookExample5

  • Topic
  • Discussion
  • VOS.SIOCRefAddressbookExample5(Last) -- DAVWikiAdmin? , 2017-06-13 05:38:06 Edit WebDAV System Administrator 2017-06-13 01:38:06

    Dump all AddressBook's contacts


    prefix sioc: <http://rdfs.org/sioc/ns#>
    prefix sioct: <http://rdfs.org/sioc/types#>
    prefix vcd: <http://www.w3.org/2001/vcard-rdf/3.0#>
    prefix dct: <http://purl.org/dc/elements/1.1/>
    prefix dcc: <http://purl.org/dc/terms/>
    select ?FN ?nick ?address ?title ?created ?link ?topic 
    where
      {
        ?forum a sioct:AddressBook .
        ?forum sioc:container_of ?post .
        optional {?post vcd:FN ?FN }.
        optional {?post vcd:NICKNAME ?nick}.
        optional {?post vcd:ADR ?address}.
        optional {?post dct:title ?title}.
        optional {?post dcc:created ?created}.
        optional {?post sioc:link ?link }.
        optional {?post sioc:topic ?topic } .
      }
    

    Sample Data (Live Query Results)

    • Click *Here* for a live SPARQL Query (via SPARQL Protocol) against a collection of AddressBook contact list .