Thanks so much and you're right. I'm using open source 6.1. Is there any way to change the storage location that all triples will be stored so I can query. Depend on your answer,I have to use the commercial 6.2? Is there any way?How could I update my open source?
On Fri, Jan 7, 2011 at 7:29 PM, Hugh Williams <hwilli...@openlinksw.com>wrote: > Hi Nguyen, > > The issue is probably due to the fact your query is setting the > input:storage to be that of the created RDFVIew which is a different storage > location to the default location where actual triples are stored and thus > cannot then access them. > > Assuming you are using the current open source 6.1 builds form source > forge, you would need an updated snapshot, as the current internal builds > have the ability to materialize RDFViews as triples and keep them in sync, > which is already a feature of the commercial 6.2 builds as detailed at: > > > http://docs.openlinksw.com/virtuoso/rdfperformancetuning.html#rdb2rdftriggers > > Let me know if you would like an updated open source build with this > feature made available to you ? > > Best Regards > Hugh Williams > Professional Services > OpenLink Software > Web: http://www.openlinksw.com > Support: http://support.openlinksw.com > Forums: http://boards.openlinksw.com/support > Twitter: http://twitter.com/OpenLink > > On 7 Jan 2011, at 06:13, Nguyen Mau Quoc Hoan wrote: > > I've just created a simple RDF View by following the example in Virtuoso > document. Everything seemed fine when I queried in quad storage. Now I want > to query with multiple graph (the graph was created by RDF View and another > graph I've already created before) but there is no result return.I could not > find out the problem.My query is select some points that lie within certain > upper limits of latitude and longitude: > > define input:storage >> <http://localhost:8890/sensor_demo/quad_storage/default> >> >> prefix sen: <http://localhost:8890/sensor_demo/schemas/Sensor#> >> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> >> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> >> prefix pos: <http://www.w3.org/2003/01/geo/wgs84_pos#> >> >> select ?lat ?long >> from named <http://shanghai.com# <http://shanghai.com/#>> >> where{ >> > #this query try to find the longitude and latitude of X > point with some conditions and there is a result if I query it alone. > >> ?s sen:sensor_lat ?x_lat; >> sen:sensor_long ?x_long. >> filter regex(?s,"19","i"). >> >> > # select some points in graph > <http://shanghai.com#<http://shanghai.com/#>> > satisfy condition > >> graph ?src{ >> ?y pos:long ?long; pos:lat ?lat. >> filter (?lat >= ?x_lat && ?long >= ?x_long). >> } >> >> } >> > > Anyone help? Could we use Graph Named and quad storage together? > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any > company > that requires sensitive data to be transmitted over the Web. Learn how to > > best implement a security strategy that keeps consumers' information secure > > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl_______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > > >