From: Rob V. <rv...@do...> - 2010-06-21 07:28:50
|
Sorry for the slow reply, I've was away over the weekend. Ok so it's not an issue of Blank Nodes and it doesn't appear to be an issue with the query. My next suggestion would be that it might be due to the way your SPARQL endpoint is configured. Are you creating a SPARQL endpoint in an ASP.Net application and then querying against it? If so then you may need to check the configuration of your endpoint. By default the endpoint is configured with the LoadMode setting set to OnDemand which means that it only starts with the default graph loaded in memory and only loads other graphs from the SQL store as and when queries demand them. If it is not already set to something else I would recommend setting the LoadMode setting to be PreloadAll which ensures that all the data is loaded from the store before it answers any queries. Another possible explanation for your missing triples is that if you've set this to PreloadAllAsync then the endpoint will start answering queries before it has fully loaded the data which means that until the data finishes loading the data your queries will return incomplete results. If this is not the cause of your issue then is it possible for you to send me some sample data so that I can do some tests and debugging to determine what the cause of the problem might be. Thanks, Rob Vesse ---------------------------------------- From: "Michael Friis" <fr...@gm...> Sent: Thursday, June 17, 2010 10:02 PM To: rv...@vd... Subject: Re: [dotNetRDF-develop] Triples evident in database not visible via Sparql query > Of course none of the above may be the actual cause of your issue but > without seeing any data or SPARQL queries I can only speculate. Here's a SPARQL query which returns no results (I've checked the prefixes): select distinct ?obj where { ?obj eb-owl:isaliasof ?subj } If I do whis to the database: select * from NODES n where n.nodeValue like '%isalias%' ... I can see that the eb-owl:isaliasof node has nodeId 4047 If I then do: select * from TRIPLES t where t.triplePredicate = 4047 ... I get over a thousand rows. Note that this seems to work after initial data load, but it then borks as I add more tripples... Michael -- http://friism.com (+45) 27122799 Sapere aude ---------------------------------------------------------------------------- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Dotnetrdf-develop mailing list Dot...@li... https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop |