Virtuoso Open-Source Wiki
Virtuoso Open-Source, OpenLink Data Spaces, and OpenLink Ajax Toolkit
Advanced Search
Help?
Location: / Dashboard / Main / SIOCRefBookmarksExample2

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.
Powered By Virtuoso