Simple portals: RDF queries


what sort of feed would you like?

select ?feedUrl, ?title  
where 
(dc::subject ?feedUrl ?subject)
(rss::title ?feedUrl ?title)
and ?subject ~ "economics"
using rss for http://purl.org/rss/1.0/
dc for http://purl.org/dc/elements/1.1

for each channel found, print the title and the url of each item

select ?item, ?ti, ?li 
where 
(rss::items http://chewbacca.ilrt.bris.ac.uk/events/events.xml ?seq)
(?contains ?seq ?item)
(rss::title ?item ?ti) 
(rss::link ?item ?li) 
using rss for http://purl.org/rss/1.0/

example results