rdf

EmmanuelOga 2020-05-12T02:37:25.080600Z

reading https://patterns.dataincubator.org/book/data-management-patterns.html

EmmanuelOga 2020-05-12T02:38:41.082100Z

the ideas of how to use named graphs seem almost obvious but I'm glad someone wrote about it since I've seen comments of the tenor that named graphs is something one would almost never need on real life RDF

EmmanuelOga 2020-05-12T02:38:52.082400Z

it seems at least someone is using them 🙂

2020-05-12T06:36:12.083Z

As far as I know almost everyone doing anything substantial with RDF will use named graphs; it’d be hard not to.

EmmanuelOga 2020-05-12T07:55:05.089700Z

> I use these rarely enough that I re-read the “Named Graphs” section of my book’s “Updating Data with SPARQL” chapter as a review before I assembled the steps below.

EmmanuelOga 2020-05-12T07:55:14.089900Z

http://www.bobdc.com/blog/materializing/

EmmanuelOga 2020-05-12T07:55:38.090300Z

I guess I'd been "consuming" quite a bit of Bob's content lately hahah

2020-05-12T10:31:06.091500Z

Yeah I should clarify; if you’re publishing, changing or creating RDF; graphs are important. Much less so for querying as the semantics should ideally just be in the data (i.e. the ?s ?p ?o part of the quads).

2020-05-12T06:40:40.083500Z

We certainly use named graphs extensively

2020-05-12T06:49:56.086600Z

You should however be careful with them; named graphs are a bit of an afterthought (introduced in) SPARQL 1.1. It’s a real shame for example that CONSTRUCT statements can’t construct graphs - there’s an issue discussing adding this to SPARQL 1.2 though. In particular you shouldn’t give graphs any real semantic meaning. Typically you usually only want to use them for data management; or establishing known/trusted subset(s) of information for processing.

EmmanuelOga 2020-05-12T07:49:14.087Z

I'm trying to create a lil blog generator

EmmanuelOga 2020-05-12T07:49:38.087600Z

I was thinking of giving every "document" on my blog its own named graph

EmmanuelOga 2020-05-12T07:51:23.089Z

say, the backing data of "/blog/2020-05-01-title" would live on the named graph "/blog/2020-05-01-title/data"

EmmanuelOga 2020-05-12T07:51:32.089300Z

(not sure about the urls yet)

EmmanuelOga 2020-05-12T07:52:19.089600Z

i think that would correspond to this pattern: https://patterns.dataincubator.org/book/graph-per-resource.html

2020-05-12T07:59:50.091300Z

Yes that makes sense and is pretty common; as it enables you to update the resource through a simple drop and replace of the graph

đź‘Ť 1
2020-05-12T14:05:53.092300Z

Am I correct in the recollection that data is only expected to be consistent within a given named graph?