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 <rve...@dotnetrdf.org>
Sent: Thursday, December 3, 2020 4:00 AM
To: users@jena.apache.org <users@jena.apache.org>
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 <ahmed.he...@mail.concordia.ca>
Reply to: <users@jena.apache.org>
Date: Thursday, 3 December 2020 at 06:26
To: "users@jena.apache.org" <users@jena.apache.org>
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