ODS.SIOCRefDiscussionsExample2
Obtaining a dump of all Posts within a specific ODS-Discussion Data Space
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 dct: <http://purl.org/dc/elements/1.1/> PREFIX dcc: <http://purl.org/dc/terms/> SELECT ?descr , ?post, ?title, ?mod_time, ?create_time, ?url, ?content WHERE { ?forum a sioct:MessageBoard ; sioc:description ?descr . filter (?descr like '%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)
- View Query Results (via SPARQL Protocol URL)
- View Query Results (via iSPARQL Results URL)
- View Query Editor (via iSPARQL Visual Query Editor URL)