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 querySELECT * 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 querySELECT * 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> 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> 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 -- Query Result 2. http://linkeddata.uriburner.com/c/9CKP65GT -- Query Definition -- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog 1: http://kidehen.blogspot.com Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen Twitter Profile: https://twitter.com/kidehen Google+ Profile: https://plus.google.com/+KingsleyIdehen/about LinkedIn Profile: http://www.linkedin.com/in/kidehen Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users