VOS.SIOCRefDiscussionsExample5

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

    Discussions posts details returned as an RDF Graph


    prefix sioc: <http://rdfs.org/sioc/ns#>
    prefix sioct: <http://rdfs.org/sioc/types#>
    prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    prefix dcterms: <http://purl.org/dc/terms/>
    CONSTRUCT
    {
      ?post dcterms:created ?created .
      ?post sioc:link ?link .
      ?post sioc:title ?title .
    }
    from <http://demo.openlinksw.com/dataspace>
    where
      {
        ?forum a sioct:Discussion  .
        ?post sioc:has_container ?forum .
        optional{ ?post dcterms:created ?created } .
        optional{ ?post sioc:link ?link } .
        optional{ ?post sioc:title ?title }
      }