ODS.ODSFOAFRefExampleBlog

  • Topic
  • Discussion
  • ODS.ODSFOAFRefExampleBlog(Last) -- Owiki? , 2018-04-19 07:02:55 Edit owiki 2018-04-19 03:02:55

    Weblog Data Space


    PREFIX sioc: <http://rdfs.org/sioc/ns#>
    PREFIX sioct: <http://rdfs.org/sioc/types#>
    PREFIX foaf: <http://xmlns.com/foaf/0.1/>
    SELECT DISTINCT ?nick, ?fname, ?post
    WHERE 
      {
        ?forum a sioct:Weblog .
        ?forum sioc:container_of ?post.
        optional{ ?post foaf:maker ?maker }.
        optional{ ?maker foaf:nick ?nick } .
        optional{ ?maker foaf:name ?fname } .
      }
    

    Sample Data (Live Query Results)
    • Click Here for a live SPARQL Query (via SPARQL Protocol) against a collection of blog posts.