Hi Ankit, Note also the following documentation on the sponger usage and invocation of pragmas for controlling sponger behaviour:
http://docs.openlinksw.com/virtuoso/virtuososponger.html#virtuosospongerusage Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers > On 2 Nov 2014, at 21:23, Kingsley Idehen <kide...@openlinksw.com> wrote: > > On 10/20/14 5:49 AM, Ankit Shah wrote: >> Hello, >> I am a new user of virtuoso and have installed virtuoso 7. I am trying to >> use the virtuoso sponger to convert non-rdf data like csv files and >> wikipedia html pages into RDF. So far, I have installed the sponger packages >> using the "Packages" tab from the virtuoso conductor. All the mappers like >> CSV , Wikipedia URLs Amazon URLS are registered and enabled. >> >> I am assuming that the query >> >> SELECT * FROM <http://en.wikipedia.org/wiki/Paul_McCartney> WHERE {?s ?p ?o}; >> >> convert the HTML page into RDF and list all the tuples. But the query >> returns 0 tuples. >> >> Similarly attempts to convert CSV into RDF using the query >> >> SELECT * FROM >> <http://samplecsvs.s3.amazonaws.com/TechCrunchcontinentalUSA.csv> WHERE {?s >> ?p ?o}; >> >> returns no results. >> >> Am I missing out something? Please help me out. > > There are many options for converting CSV into RDF. If using the sponger, > following installation of the "cartridges_dav.vad" package, you would execute; > > > define get:soft "replace" > SELECT * FROM > <http://samplecsvs.s3.amazonaws.com/TechCrunchcontinentalUSA.csv > <http://samplecsvs.s3.amazonaws.com/TechCrunchcontinentalUSA.csv>> WHERE {?s > ?p ?o}; > > The query above includes a pragma (engine instruction) that invokes the > sponger middleware layer, as part of the SPARQL query solution (result set) > processing pipeline. Net effect, > <http://samplecsvs.s3.amazonaws.com/TechCrunchcontinentalUSA.csv > <http://samplecsvs.s3.amazonaws.com/TechCrunchcontinentalUSA.csv>> is > de-referenced and the document it identifies is imported in a local named > graph (internal document identifier) of the same name (identifier). > > > Links: > > 1. http://linkeddata.uriburner.com/c/9P625JY > <http://linkeddata.uriburner.com/c/9P625JY> -- Query Result > 2. http://linkeddata.uriburner.com/c/9CKP65GT > <http://linkeddata.uriburner.com/c/9CKP65GT> -- Query Definition > > -- > Regards, > > Kingsley Idehen > Founder & CEO > OpenLink Software > Company Web: http://www.openlinksw.com <http://www.openlinksw.com/> > Personal Weblog 1: http://kidehen.blogspot.com <http://kidehen.blogspot.com/> > Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen > <http://www.openlinksw.com/blog/~kidehen> > Twitter Profile: https://twitter.com/kidehen <https://twitter.com/kidehen> > Google+ Profile: https://plus.google.com/+KingsleyIdehen/about > <https://plus.google.com/+KingsleyIdehen/about> > LinkedIn Profile: http://www.linkedin.com/in/kidehen > <http://www.linkedin.com/in/kidehen> > Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this > <http://kingsley.idehen.net/dataspace/person/kidehen#this> > > > ------------------------------------------------------------------------------ > _______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > <mailto:Virtuoso-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users