|
Tim; Generally speaking I would recommend D2RQ,
mostly because it will perform the basic translations to RDF for
you. Then SPARQL can be used to further transform the data as
required. For saving the data as RDF, first run the D2RQ import wizard in TBC and choose what tables and columns you want to convert to RDF (the new D2RQ wizard is quite flexible). Then open the DataView. Use Export... Export/Merge/Convert to save the data into the desired format. This system will query the db, bring the data into the Jena RDF form (yes, memory limitations apply) and save in the desired format. Sometimes small adjustments are needed in the -Mapping file to get the transformations right, and this can be opened as RDF. Look at the ClassMap and PropertyBridge instances. See the Composer help file for a link to the D2RQ mapping language, which can be helpful. Once in an RDF mapping, further transformations are then possible through SPARQLMotion scripts, etc. I find D2RQ can get to the relational data a views without trouble and does a good job of converting keys to object properties, etc. But if SQL is truly needed, then IterateOverSQL can be used to iterate over a SQL result set and . This will convert datatypes, etc., but you're on your own for figuring object relationships, etc. - which could be what is necessary if D2RQ isn't able to get do the desired mappings. BTW, there are bits of SQL that can be used in D2RQ - again, refer to D2RQ mapping language docs. Let us know if that is helpful at all, Tim, and if there are further questions. -- Scott On 12/18/2013, 10:53 PM, Tim Smith
wrote:
-- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out. |
- [topbraid-users] More SPARQLMotion Examples R Wiethorn
- Re: [topbraid-users] More SPARQLMotion Examples Scott Henninger
- RE: [topbraid-users] More SPARQLMotion Examples Wiethorn, Robert
- Re: [topbraid-users] More SPARQLMotion Examples R Wiethorn
- Re: [topbraid-users] More SPARQLMotion Examp... Scott Henninger
- Re: [topbraid-users] More SPARQLMotion E... Tim Smith
- Re: [topbraid-users] More SPARQLMot... Scott Henninger
