ODS.SIOCRefPollsExample2

  • Topic
  • Discussion
  • ODS.SIOCRefPollsExample2(1.1) -- DAVWikiAdmin? , 2017-06-13 06:08:25 Edit WebDAV System Administrator 2017-06-13 06:08:25

    Dump of all Polls Posts for a given ODS Member


    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:SurveyCollection.
        ?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 dcc:created ?cr }.
        OPTIONAL { ?post sioc:link ?url }.
      }
    

    Sample Data (Live Query Results)