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 xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX dct: <http://purl.org/dc/elements/1.1/> PREFIX dcc: <http://purl.org/dc/terms/> SELECT * WHERE { ?forum a sioct:Weblog . ?forum sioc:id ?forum_name. ?forum sioc:scope_of ?role. ?role sioc:function_of ?f . filter (?f like '%http://demo.openlinksw.com/dataspace/demo#this') . ?forum sioc:container_of ?post. OPTIONAL { ?post dct:title ?title }. OPTIONAL { ?post dcc:created ?cr }. OPTIONAL { ?post sioc:link ?url }. OPTIONAL { ?post sioc:links_to ?links_to }. OPTIONAL { ?post sioc:content ?content} }