Hi Hugh,

I'm using the SPARQL interface at

http://localhost:8890/sparql <http://localhost:8890/sparql,>

Based on the instructions
here<http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFInsert>.
But now I can't get the service to start, it hangs when I press 'Start'

-sherman


On Fri, Jul 29, 2011 at 5:38 AM, Hugh Williams <[email protected]>wrote:

> Hi Sherman,
>
> What interface are you using to perform these SPARUL operations as the
> query you provide works fine for me via isql:
>
> $ /opt/virtuoso/bin/isql opluswinbuild:1111
> Connected to OpenLink Virtuoso
> Driver: 06.02.3130 OpenLink Virtuoso ODBC Driver
> OpenLink Interactive SQL (Virtuoso), version 0.9849b.
> Type HELP; for help and EXIT; to exit.
> SQL> SPARQL INSERT IN GRAPH <http://BookStore.com> { <
> http://www.dajobe.org/foaf.rdf#i> <http://purl.org/dc/elements/1.1/date>
> <1999-04-01T00:00:00> . <http://www.w3.org/People/Berners-Lee/card#i> <
> http://purl.org/dc/elements/1.1/date> <1998-05-03T00:00:00> . <
> http://www.w3.org/People/Connolly/#me> <
> http://purl.org/dc/elements/1.1/date> <2001-02-08T00:00:00> };
> callret-0
> VARCHAR
>
> _______________________________________________________________________________
>
> Insert into <http://BookStore.com>, 3 (or less) triples -- done
>
> 1 Rows. -- 275 msec.
> SQL> SPARQL select * from <http://BookStore.com> where {?s ?p ?o};
> s
>       p
>             o
> VARCHAR
>       VARCHAR
>             VARCHAR
>
> _______________________________________________________________________________
>
> http://www.dajobe.org/foaf.rdf#i
>        http://purl.org/dc/elements/1.1/date
>                1999-04-01T00:00:00
> http://www.w3.org/People/Berners-Lee/card#i
>         http://purl.org/dc/elements/1.1/date
>                1998-05-03T00:00:00
> http://www.w3.org/People/Connolly/#me
>         http://purl.org/dc/elements/1.1/date
>                2001-02-08T00:00:00
>
> 3 Rows. -- 155 msec.
> SQL>
>
> 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 29 Jul 2011, at 07:22, Sherman Monroe wrote:
>
> Hi All,
>
> I'm attempting to load triples via SPARUL but I get the following error
>
> Any help would be appreciated.
>
> Virtuoso 37000 Error SP030: SPARQL compiler, line 3: syntax error at 'SPARQL' 
> before 'INSERT'
>
> SPARQL query:
>
> #output-format:text/html
> define sql:signal-void-variables 1 SPARQL INSERT IN GRAPH 
> <http://BookStore.com>
> { <http://www.dajobe.org/foaf.rdf#i> <http://purl.org/dc/elements/1.1/date> 
> <1999-04-01T00:00:00> .
>   <http://www.w3.org/People/Berners-Lee/card#i> 
> <http://purl.org/dc/elements/1.1/date> <1998-05-03T00:00:00> .
>   <http://www.w3.org/People/Connolly/#me> 
> <http://purl.org/dc/elements/1.1/date> <2001-02-08T00:00:00> };
>
>
> Any
>
>
> --
>
> Thanks,
> -sherman
>
> I pray that you may prosper in all things and be healthy, even as your soul
> prospers
> (3 John 1:2)
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
>
> http://p.sf.net/sfu/slashdot-survey_______________________________________________
> Virtuoso-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-devel
>
>
>


-- 

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul
prospers
(3 John 1:2)

Reply via email to