From: Simon O. <sou...@he...> - 2014-07-15 15:55:55
|
Hi, We're interested in potentially using dotNetRdf against a kind of "hybrid dataset" where nodes and object properties would be in-memory, as in the InMemoryDataset, however there would be the special case of scalar properties (a.k.a. data properties), which would be contained in a SQL table (our database is too big to hold everything in RAM, but holding everything on disk would be too slow). I've looked a bit at the source code to see how this could be done, and so far my understanding is that I could derive my own Dataset class, and implement my own GetTriplesWithPredicate, GetTriplesWithSubjectPredicate and GetTriplesWithPredicateObject methods? When the predicate exists in memory, I would go through the usual InMemoryDataset approach, and when it isn't I would run a SQL query against my database. I'm not sure if I'm on the right path, or if there are potentially breaking consequences to what I'm trying to do... Any guidance on how to best accomplish this would be appreciated. Thanks, Simon Ouellette CONFIDENTIALITY NOTICE This message contains confidential information intended only for the use of the individual or entity named as recipient. Any dissemination, distribution or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify us and delete your copy. Thank you. AVIS DE CONFIDENTIALITÉ Les informations contenues aux présentes sont de nature privilégiée et confidentielle. Elles ne peuvent être utilisées que par la personne ou l'entité dont le nom paraît comme destinataire. Si le lecteur du présent message n'est pas le destinataire prévu, il est par les présentes prié de noter qu'il est strictement interdit de divulguer, de distribuer ou de copier ce message. Si ce message vous a été transmis par mégarde, veuillez nous en aviser immédiatement et supprimer votre copie. Merci. |