Virtuoso Open-Source Wiki
Virtuoso Open-Source, OpenLink Data Spaces, and OpenLink Ajax Toolkit
Advanced Search
Location: / Dashboard / Main / SIOCRefDiscussionsExample2

Obtaining a dump of all Posts within a specific ODS-Discussion Data Space

prefix rdf: <>
prefix sioc: <>
prefix sioct: <>
prefix dct: <>
prefix dcc: <>
select ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url, ?content
from <>
    ?forum a sioct:MessageBoard ;
      sioc:id ?forum_name FILTER REGEX(?forum_name,".*demo*."). 
    optional{ ?forum sioc:container_of ?post  } .
    optional{ ?post dct:title ?title } .
    optional{ ?post dcc:modified ?mod_time } .
    optional{ ?post dcc:created ?create_time } .
    optional{ ?post sioc:link ?url } .
    optional{ ?post sioc:content ?content}.

Sample Data (Live Query Results)

  • Click *Here* for a live SPARQL Query (via SPARQL Protocol) against an ODS Discussion Data Space.
Powered By Virtuoso