Hi What does the following query which should return the graph name associated with the returned triples return for the ?g:
sparql select * where { graph ?g {?s ?p ?o filter(regex(?s,"uniprot"))}} limit 10; 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 3 Jan 2011, at 14:36, R Stanislaus wrote: > Hi Hugh, > > >Firstly I would recommend you upgrade to the 06.01.3127 builds as you appear > >to be one release out of >date, or are you running a Virtuoso build from a > >Linux distro ? > Yes I am using the Virtuoso running from a Linux distro native version. My > previous attempt was using version 6.01.3127. It had the same problem so I > switched the default version that comes with the system hoping it might work. > > > >Specifically what is the method you are using to load the data into > >Virtuoso, please provide the commands >being run with isql-vt, so we can see > >the operations being performed. > Here is the command I am using... > > isql-vt 1111 uname > passwd > DB.DBA.RDF_LOAD_RDFXML_MT(file_to_string_output('$file_name_full'), '', > '$graph_uri'); > > obviously using the direct path to the file location, and graph uri such as > "http://www.uniprot.org/core" > > > > >Specifically what is the method you are using to load the data into > >Virtuoso, please provide the commands >being run with isql-vt, so we can see > >the operations being performed. > A simple query to find out if the data is present. for example: > select ?s ?p ?o > where{?s ?p ?o > filter(regex(?s,"uniprot")} > > u could use "from" and give the uri but it returns nothing. However, above > works with anything that has uniprot. > > > > list of graphs is returned by running the function: > > > > DB.DBA.SPARQL_SELECT_KNOWN_GRAPHS(); > Idk as I have reset() the triple store, so right now there are no loaded > graphs. However, under the RDF and Graphs tabs, the URI that I used when I > was loading the data cannot be found. Hence the previous email. So I assume > even when I had the triples loaded DB.DBA.SPARQL_SELECT_KNOWN_GRAPHS() does > not return the graphs I loaded. I hope that answers the above question. > > Many Thanks, > Romesh > > On Fri, Dec 24, 2010 at 9:13 AM, Hugh Williams <hwilli...@openlinksw.com> > wrote: > Hi > > Firstly I would recommend you upgrade to the 06.01.3127 builds as you appear > to be one release out of date, or are you running a Virtuoso build from a > Linux distro ? > > Specifically what is the method you are using to load the data into Virtuoso, > please provide the commands being run with isql-vt, so we can see the > operations being performed. You say the data has been loaded as it can be > queried, what is the query being run ? Also, what list of graphs is returned > by running the function: > > DB.DBA.SPARQL_SELECT_KNOWN_GRAPHS(); > > 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 23 Dec 2010, at 20:36, R Stanislaus wrote: > >> Dear lists, >> Virtuoso version: 06.01.3126 >> >> My problem is similar to one posted on this list: >> http://sourceforge.net/mailarchive/message.php?msg_id=26750866 >> >> However, I followed the instructions to the letter and still have the >> problem. >> Here is the problem: I can upload rdf data using isql-vt or as indicated >> above. However under the RDF->Graphs tab the graph iri does not show up. I >> know the triples went in as I can query the the triples. However, when I do >> the following query >> select distinct ?g >> where{ graph ?g{ >> ?s ?p ?o}} >> the graph uri/iri does not show up. >> >> Does any of you what is happening? >> Problem: Triples go in however the attached uri/iri does not show up the >> Graphs Tab. >> Solution:? >> >> Thanks. >> ------------------------------------------------------------------------------ >> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >> to consolidate database storage, standardize their database environment, >> and, >> should the need arise, upgrade to a full multi-node Oracle RAC database >> without downtime or disruption >> http://p.sf.net/sfu/oracle-sfdevnl_______________________________________________ >> Virtuoso-users mailing list >> Virtuoso-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/virtuoso-users > >