W3C home > Mailing lists > Public > public-sparql-dev@w3.org > October to December 2016

Moving a given subset of triples to another graph.

From: Olivier Rossel <olivier.rossel@gmail.com>
Date: Tue, 15 Nov 2016 08:10:15 +0100
Message-ID: <CAM0wMfR4vnDusRxEjWsxDx2Ck=VEVC022f840Pw+SDQnjdZyFg@mail.gmail.com>
To: SPARQL <public-sparql-dev@w3.org>
Hi all.

I wonder how I can move all triples matching a given SELECT (like this):
SELECT * WHERE { GRAPH <http://mygraph/> {?s rdf:type ?o} }

into another named graph (let's call it http://mygraph2).

What kind of SPARQL statement would do that?
Received on Tuesday, 15 November 2016 07:11:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 15 November 2016 07:11:08 UTC