ODS.ODSAtomOWLRefExampleCommunity

Community (Group Mode) Applications Data Space


PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX atom: <http://atomowl.org/ontologies/atomrdf#>
PREFIX sioc: <http://rdfs.org/sioc/ns#>
PREFIX sioct: <http://rdfs.org/sioc/types#>
SELECT *
WHERE 
  {
    ?forum rdf:type sioc:Community .
    ?forum sioc:has_part ?parentf .
    OPTIONAL{ ?parentf sioc:container_of ?post}.
    OPTIONAL{ ?post atom:title ?title } .
    OPTIONAL{ ?post atom:link ?link . ?link atom:linkRel ?linkr . ?link atom:LinkHref ?linkf } .
    OPTIONAL{ ?post atom:author ?auth } .
  }

Sample Data (Live Query Results)