ODS.ODSSKOSRefExampleCommunity

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

    Community Content 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 sioc:Community .
        ?forum sioc:has_part ?parentf .
        ?parentf 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)