ODS.ODSSKOSRefExampleBlog

  • Topic
  • Discussion
  • ODS.ODSSKOSRefExampleBlog(Last) -- DAVWikiAdmin? , 2017-06-13 06:07:07 Edit WebDAV System Administrator 2017-06-13 01:07:07

    Weblog Post Tags


    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 skos: <http://www.w3.org/2004/02/skos/core#>
    SELECT DISTINCT ?tag ?topic
    WHERE
      {
        ?forum a sioct:Weblog .
        ?forum sioc:container_of ?post.
        OPTIONAL { ?post sioc:topic ?topic }.
        OPTIONAL { ?topic rdf:type skos:Concept }.
        OPTIONAL { ?topic skos:prefLabel ?tag }.
       }
    

    Sample Data (Live Query Results)