ODS.SIOCRefAddressbookExample5

  • Topic
  • Discussion
  • ODS.SIOCRefAddressbookExample5(Last) -- DAVWikiAdmin? , 2017-06-29 07:32:33 Edit WebDAV System Administrator 2017-06-29 07:32:33

    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)