ODS.SIOCRefFeedsExample3

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

    Obtaining a dump of all Posts within an ODS-Feeds Data Space that includes feed content

    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/>
    PREFIX dcc: <http://purl.org/dc/terms/>
    SELECT *
    WHERE 
      {
         ?forum a sioct:SubscriptionList ;
                sioc:id ?forum_name.
         ?forum sioc:scope_of ?role. 
         ?role sioc:function_of ?f. filter (?f like '%http://demo.openlinksw.com/dataspace/demo#this') .
         OPTIONAL{ ?forum sioc:parent_of ?channel } .
         OPTIONAL{ ?channel sioc:container_of ?post }.
         OPTIONAL{ ?post dct:title ?item_title }.
         OPTIONAL{ ?post sioc:links_to ?url }.
         OPTIONAL{ ?post sioc:has_creator ?creator }.
         OPTIONAL{ ?post dcc:created ?created }
         OPTIONAL{ ?post sioc:content ?content}.
      }
    LIMIT 10
    

    Sample Data (Live Query Results)