VOS.SIOCRefAddressbookExample4

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

    Dump all AddressBook's members friends


    prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    prefix sioc: <http://rdfs.org/sioc/ns#>
    prefix sioct: <http://rdfs.org/sioc/types#>
    prefix foaf: <http://xmlns.com/foaf/0.1/>
    select ?member, ?knows
    where
      {
        ?s a sioct:AddressBook;
          sioc:scope_of ?role.
        ?role sioc:function_of ?member.
        ?member a foaf:Person.
        ?member foaf:knows ?knows
      }
    

    Sample Data (Live Query Results)

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