Virtuoso Open-Source Wiki
Virtuoso Open-Source, OpenLink Data Spaces, and OpenLink Ajax Toolkit
Advanced Search
Location: / Dashboard / Main / SIOCRefBlogExample5
Dump of all Weblog Posts for a given ODS Member that includes content of blog post plus out-bound links.
PREFIX rdf: <>  
PREFIX sioc:   <> 
PREFIX sioct: <>
PREFIX xsd: <> 
PREFIX dct: <>
PREFIX dcc: <> 
SELECT ?forum_name, ?post, ?title, ?cr, ?content, ?url, ?links_to
WHERE    { 
           ?forum a sioct:Weblog .
           ?forum sioc:id ?forum_name.
           ?forum sioc:scope_of ?role. 
           ?role sioc:function_of <> .
           ?forum sioc:container_of ?post. 
           optional{ ?post dct:title ?title }.
           optional{ ?post dcc:created ?cr }.
           optional{ ?post sioc:link ?url }.
           optional{ ?post sioc:links_to ?links_to }.
           optional{?post sioc:content ?content}
Sample Data (Live Query Results)
  • Click Here for a live SPARQL Query (via SPARQL Protocol) against a collection of blog posts.
Powered By Virtuoso