ODS.SIOCRefBookmarksExample2

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

    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 ?f . filter (?f like '%http://demo.openlinksw.com/dataspace/demo#this' ).
        ?forum sioc:container_of ?post .
        OPTIONAL{ ?post dct:title ?title }.
        OPTIONAL{ ?post sioc:link ?link  } .
        OPTIONAL{ ?post sioc:links_to ?url }
      }
    
    

    Sample Data (Live Query Results)