On 1/12/12 11:10 PM, Peter DeVries wrote:
Hi,

I was wondering if there is version of the following command that allows you to define the *graph* that the triples will be assigned.

#pragma for performing HTTP GET as part of SPARQL query processing pipeline
define get:soft "replace"
select distinct * from <http://lod.taxonconcept.org/ses/v6n7p.rdf> where {?s ?p ?o}

I was also wondering if anyone has written a way to do this via ruby?

I would like to do this to replace the old rdf with the new rdf, which is in a specific graph.

Thanks,

- Pete

Pete,

You mean:

INSERT INTO GRAPH <SomeGraphIRI>
{?s ?p ?o}

which can be shortened to:

LOAD <URLofSomeResourceWithTriples> .


Also note, there is a new "add" option re. define get:soft pragma, need effect is that you progressively populate a named graph (where IRI is the data source URL).



------------------------------------------------------------------------------------
Pete DeVries
Department of Entomology
University of Wisconsin - Madison
445 Russell Laboratories
1630 Linden Drive
Madison, WI 53706
Email: [email protected] <mailto:[email protected]>
TaxonConcept <http://www.taxonconcept.org/> & GeoSpecies <http://about.geospecies.org/> Knowledge Bases
A Semantic Web, Linked Open Data <http://linkeddata.org/>  Project
--------------------------------------------------------------------------------------


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2


_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


--

Regards,

Kingsley Idehen 
Founder&  CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to