On Freitag, 8. Februar 2008, Jeff Thompson wrote:
> Is there a document (or an email message or comments in the code) that
> describes the database schema that SMW uses to store semantic data,
> including the change history?  I could read the code to try to figure it
> out, but I wondered if it is already explained somewhere.

AFAIR it is not. We might add such a resource *but* we strongly discourage any 
direct access to SMW DB tables by extensions anyway. The reason is that SMW 
was designed to allow complete replacement of the semantic storage 
implementation with bascially no changes in the SMW code. We might make us of 
that option.

If you want to access semantic data programmatically, consider the storage 
interface methods (SMW_Store.php) if in PHP, and the RDF export 
(Special:ExportRDF or full dump via SMW_dumpRDF.php) if you are outside PHP. 
If you need something in between, then subclassing the current MySQL storage 
implementation might be a good idea.

Cheers,

Markus

>
> Thanks,
> - Jeff
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Semediawiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



-- 
Markus Krötzsch
Institut AIFB, Universität Karlsruhe (TH), 76128 Karlsruhe
phone +49 (0)721 608 7362          fax +49 (0)721 608 5998
[EMAIL PROTECTED]          www  http://korrekt.org

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to