VOS.SIOCRefDiscussionsExample1

  • Topic
  • Discussion
  • VOS.SIOCRefDiscussionsExample1(Last) -- DAVWikiAdmin? , 2017-06-13 05:36:58 Edit WebDAV System Administrator 2017-06-13 05:36:58

    Data Space Post/Entry/Item Properties (sioc:Post predicates)


       * content
       * has_container
       * has_reply
       * id
       * link
       * links_to
       * reply_of
       * topic (tags) (TBD)  
       * has_creator: if the creator is not known, the foaf:maker is filled in
    


    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#>
    select distinct ?attribute
    from <http://demo.openlinksw.com/dataspace>
    where
    {
      ?forum rdf:type sioct:MessageBoard .
      ?forum sioc:container_of ?post .
      ?post ?attribute ?o  
    }
    order by ?attribute
    


    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 distinct ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url
    from <http://demo.openlinksw.com/dataspace>
    where 
      {
        ?forum a sioct:MessageBoard ;
                      sioc:id ?forum_name. 
        optional{ ?forum sioc:container_of ?post  } .
        optional{ ?post dct:title ?title } .
        optional{ ?post dcc:modified ?mod_time } .
        optional{ ?post dcc:created ?create_time } .
        optional{ ?post sioc:link ?url } .
      }