PREFIX sioc: <http://rdfs.org/sioc/ns#> PREFIX sioct: <http://rdfs.org/sioc/types#> PREFIX ann: <http://www.w3.org/2000/10/annotation-ns#> SELECT * WHERE { ?forum a sioct:AddressBook . ?forum sioc:container_of ?post. ?post ann:hasAnnotation ?hn . OPTIONAL {?hn ann:annotates ?annotates } . OPTIONAL {?hn ann:author ?author } . OPTIONAL {?hn ann:body ?body } . OPTIONAL {?hn ann:created ?created } . OPTIONAL {?hn ann:modified ?modified }. }