It flags a warning; you can still send the query. Yasgui does not know about extended syntax.
On Wed, 26 May 2021, 15:29 Mikael Pesonen, <[email protected]> wrote: > > Thanks, that works. Gave up too easily since Fuseki web GUI shows error > "This line is invalid" for line "{ GRAPH ?g { ?s ?p ?o } } ". > > On 26/05/2021 17.24, Andy Seaborne wrote: > > ARQ supports GRAPH in CONSTRUCT. > > > > Need to use for a suitable MIME type for quads. > > > > PREFIX : <http://example.com/> > > > > CONSTRUCT > > { GRAPH ?g { ?s ?p ?o } } > > WHERE > > { > > VALUES ?g { :g1 :g2 } > > GRAPH ?g { ?s ?p ?o } > > } > > > > Andy > > > > On 26/05/2021 12:46, Mikael Pesonen wrote: > >> > >> Hi, > >> > >> sorry for replying to old thread. I would like to dump some graphs > >> from corrupted db. Is there a way to dump them with one quad query > >> instead of dumping each graph separately as triples? > >> > >> On 03/12/2020 16.23, Ahmed Helal wrote: > >>> Hi, > >>> > >>> My query is: > >>> CONSTRUCT { > >>> graph ?g > >>> {?s ?p ?o} > >>> } > >>> WHERE{ > >>> GRAPH ?g { ?s ?p ?o }. values ?g {<http://example#v1>} > >>> } > >>> > >>> The interface shows an error/message for the second line saying > >>> (graph ?g): This line is invalid. Expected: VAR1, VAR2... > >>> > >>> This is the returned results: > >>> { > >>> "readyState": 4, > >>> "responseText": "", > >>> "status": 200, > >>> "statusText": "OK" > >>> } > >>> > >>> > >>> Thank you, > >>> Ahmed. > >>> > >>> > >>> > >>> ________________________________ > >>> From: Rob Vesse <[email protected]> > >>> Sent: Thursday, December 3, 2020 4:00 AM > >>> To: [email protected] <[email protected]> > >>> Subject: Re: Construct Quads on Apache Jena Fuseki > >>> > >>> The list does not permit attachments so we cannot see screenshots. > >>> Please provide the example query that is failing and the error/log > >>> message(s) you see in relation to the failure > >>> > >>> > >>> > >>> Rob > >>> > >>> > >>> > >>> From: Ahmed Helal <[email protected]> > >>> Reply to: <[email protected]> > >>> Date: Thursday, 3 December 2020 at 06:26 > >>> To: "[email protected]" <[email protected]> > >>> Subject: Construct Quads on Apache Jena Fuseki > >>> > >>> > >>> > >>> Hello everyone, > >>> > >>> > >>> > >>> I am trying to construct Quads following the documentation on this > >>> page: > >>> > >>> https://jena.apache.org/documentation/query/construct-quad.html > >>> > >>> > >>> > >>> However, when I write my script on Apache Jena Fuseki, it complains. > >>> I have attached a screenshot below > >>> > >>> > >>> > >>> > >>> > >>> Thank you, > >>> > >>> Ahmed Helal. > >>> > >>> > >>> > >>> Note: The script in the screenshot is just for the sake of the example > >>> > >>> > >> > >
