These are chat archives for rdfjs/public

1st
May 2016
elf Pavlik
@elf-pavlik
May 01 2016 15:59
@RubenVerborgh do you think this would work to assert that IRI does denote a Graph?
@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .

<> a sd:Graph .
Sandro Hawke
@sandhawke
May 01 2016 16:01
 sd:Graph a rdfs:Class ;
    rdfs:label "Graph" ;
    rdfs:comment "An instance of sd:Graph represents the description of an RDF graph." .
That doesn't sound like a Graph to me.
(and of course, do you mean a gbox or a gsnap?)
Although....
        <sd:defaultGraph>
          <sd:Graph>
            <void:triples rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">100</void:triples>
          </sd:Graph>
        </sd:defaultGraph>
the example in the spec, does make it look like sd:Graph is at least a gbox, which is what lots of people think when they say graph, if they're not concerned about being pedantically correct.
elf Pavlik
@elf-pavlik
May 01 2016 16:39

@sandhawke which meaning of graph in your opinion this note uses? https://www.w3.org/TR/rdf11-concepts/#note-datasets

the graph name is not required to denote the graph

since one can't assume that IRI does denote the graph, i thought one could assert it somehow
Sandro Hawke
@sandhawke
May 01 2016 16:41
Pedantically it's g-snap, HOWEVER since you're probably thinking of datasets that aren't actually datasets but instead might change over time, the "graphs" become g-boxes when you do that.
I recommend simply asserting that in running code. Assume it does. It's a bug in the specs/process that it doesn't.
elf Pavlik
@elf-pavlik
May 01 2016 16:48
I like this diagram
g-*
Actually I need versioning of resources and so far only seen @RubenVerborgh's implementation of Memento in https://github.com/LinkedDataFragments/Server.js/wiki/Configuring-Memento