ODS.ODSFOAFRefExampleConstructWiki

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

    Wiki articles creator nick and organization details


    PREFIX sioc: <http://rdfs.org/sioc/ns#>
    PREFIX sioct: <http://rdfs.org/sioc/types#>
    PREFIX foaf: <http://xmlns.com/foaf/0.1/>
    CONSTRUCT
      {
        ?post foaf:maker ?maker .
        ?maker foaf:nick ?nick  .
        ?maker foaf:organization ?org  .
      }
    WHERE 
      {
        ?forum a sioct:Wiki .
        ?forum sioc:container_of ?post.
        optional { ?post foaf:maker ?maker }.
        optional { ?maker foaf:nick ?nick  } .
        optional { ?maker foaf:organization ?org } .
      }