Re: Trig Type?

Hi Renato,
I think this question is pertinent to the RDF model [1] itself and the
available RDFS/OWL vocabularies/ontologies, rather than Trig, which is just
one of many possible serializations of RDF.
So I answer in respect to RDF, to the best of my knowledge.

The short answer is that there is no requirement for a graph name (an IRI
used as the name of a graph) to be specified or interpreted as an instance
of a certain class.
But if you want to do that, the class sd:NamedGraph defined by the SPARQL
1.1 Service Description standard [2] could be what you are looking for.

The slightly more elaborate answer is that named graphs is a feature that
did not exist in the first version of RDF (1.0) and has no definite
associated semantics.
A W3C WG note [3] discusses the issue and different possible choices for
the semantics.
Basically, there are multiple reasonable (but incompatible) formal
interpretations for the concept and many are already in use. So formalizing
it could be counterproductive.
That is, in my interpretation, the reason why there is no standard class in
RDFS/OWL for named graphs (as it is instead the case for resources,
classes, properties, literals).

Cheers,
Miguel

[1] https://www.w3.org/TR/rdf11-primer
[2] https://www.w3.org/TR/sparql11-service-description
[3] https://www.w3.org/TR/rdf11-datasets/


On Fri, Jan 13, 2023 at 3:30 AM Renato Iannella <r@iannel.la> wrote:

>
> Hi, does Trig: https://www.w3.org/TR/trig/
> define a class for “named graphs” ?
>
> So my named graph can become an instance of it?
>
> Cheers - Renato
>

Received on Friday, 13 January 2023 14:21:09 UTC