On 1/26/11 5:25 PM, Adrian Gschwend wrote:
Hi everyone,

I tried fetching some RSS feeds and getting triples for it:

- The user has SPARQL_SPONGE permissions
- The cartridges are enabled, I see one for feeds and the options seem
to make sense in the configuration (didn't change the defaults)
- I told it to download all data it needs (tried all options in there)
- Query looks like "select * from<URL-of-a-txt-file>  where { ?s ?p ?o
}" according to the docs in the wiki, I tried:

"select * from<http://feeds.feedburner.com/Precentralnet?format=xml>
where { ?s ?p ?o }"

but I get no triples back.

Do I miss something there?

Yes, do:

define get:soft "replace"
select * from <http://feeds.feedburner.com/Precentralnet?format=xml>
where { ?s ?p ?o }

The first line is a pragma that tells the SPARQL engine to do the following:

1. HTTP GET using IRI in FROM clause as a URL
2. If a Graph IRI already exists based on URL then overwrite (i.e. replace).

Kingsley
thanks

cu

Adrian

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users



--

Regards,

Kingsley Idehen 
President&  CEO
OpenLink Software
Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen






Reply via email to