-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/08/12 11:27, Cong Wang wrote: > Hi Andy, > > I am trying to extend some code of sparql to sql in SDB.. > > Can you give some points where they are in SDB source code ?
Try src/com/hp/hpl/jena/sdb/compiler/SDBCompile.java That kicks everything off, and sets the basic features of the databases. After that maybe QueryCompilerMain.java and TransformSDB.java? The basic idea is to taking an input Op -- the query in SPARQL algebra form -- and run through it replacing it with OpSQLs which contain a representation of the equivalent SQL (SqlNode) where possible. Damian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAaaEEACgkQAyLCB+mTtyldGACgx9yB2GthCXynVDMKLB8DrjMw /ccAoOEXGfQo5RjVVuDUfZJ3lhTS2pcP =Y38K -----END PGP SIGNATURE-----
