Feeds / Subscriptions Data Space (Feed Aggregation)
Key ODS-Feed Manager to SIOC Mappings
Data Space Post/Entry/Item Properties (sioc:Post predicates)
* content
* has_container
* has_creator
* has_reply
* id
* link
* links_to
* reply_of
* topic (tags)
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#>
SELECT distinct ?attribute
FROM <http://demo.openlinksw.com/dataspace>
WHERE {
?forum rdf:type sioct:SubscriptionList .
?forum sioc:parent_of ?parentf .
?parentf sioc:container_of ?post .
?post ?attribute ?o
}
ORDER BY ?attribute
Obtaining a dump of all Posts within an ODS-Feeds 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 distinct ?forum_name, ?creator, ?channel, ?item_title, ?url, ?created
FROM <http://demo.openlinksw.com/dataspace>
WHERE {
?forum a sioct:SubscriptionList ;
sioc:id ?forum_name.
?forum sioc:scope_of ?role.
?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo> .
?forum sioc:parent_of ?channel .
?channel sioc:container_of ?post .
optional{?post dct:title ?item_title }.
optional{ ?post sioc:links_to ?url }.
optional{ ?post sioc:has_creator ?creator }.
optional{ ?post dcc:created ?created }
}
ORDER BY DESC (?created)
Obtaining a dump of all Posts within an ODS-Feeds Data Space that includes feed content
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 ?forum_name, ?channel, ?item_title, ?url, ?created, ?content
FROM <http://demo.openlinksw.com/dataspace>
WHERE {
?forum a sioct:SubscriptionList ;
sioc:id ?forum_name.
?forum sioc:scope_of ?role.
?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo> .
?forum sioc:parent_of ?channel .
?channel sioc:container_of ?post .
optional{ ?post dct:title ?item_title }.
optional{ ?post sioc:links_to ?url }.
optional{ ?post dcc:created ?created }.
optional{ ?post sioc:content ?content}.
}
Sample Data (Live Query Results)
- Click *Here* for an Interactive-Web View
- Click *Here* for a live SPARQL Query (via SPARQL Protocol) against a collection of Feed Subscriptions.
References
Specs
FAQs
Presentations
Tutorials