VOS.SIOCRefBlogExample2

  • Topic
  • Discussion
  • VOS.SIOCRefBlogExample2(Last) -- DAVWikiAdmin? , 2017-06-13 05:42:55 Edit WebDAV System Administrator 2017-06-13 01:42:55

    Dump of all Weblog Posts for a given ODS Member

    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 xsd: <http://www.w3.org/2001/XMLSchema#> 
    PREFIX dct: <http://purl.org/dc/elements/1.1/>
    PREFIX dcc: <http://purl.org/dc/terms/> 
    SELECT DISTINCT ?forum_name, ?post, ?title ?cr ?url 
    WHERE    { 
               ?forum a sioct:Weblog .
               ?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 dcc:created ?cr }.
               optional{ ?post sioc:link ?url }.
             }
    ORDER BY DESC (?cr)