VOS.SIOCRefBookmarksExample2

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

    Dump of all Bookmark Data Space entries for a given ODS Bookmarks Data Space


    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 dct: <http://purl.org/dc/elements/1.1/>
    select distinct ?forum_name, ?post, ?title, ?link, ?url
    where 
      {
        ?forum a sioct:BookmarkFolder .
        ?forum sioc:id ?forum_name.
        ?forum sioc:scope_of ?role. 
        ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo>.
        ?forum sioc:container_of ?post .
        optional{ ?post dct:title ?title }.
        optional{ ?post sioc:link ?link  } .
        optional{ ?post sioc:links_to ?url }
      }
    order by ?title
    

    Sample Data (Live Query Results)
    • Click *Here* for a live SPARQL Query (via SPARQL Protocol) against a collection of published Bookmarks.