iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://www.w3.org/mid/01ed01cdd314%243de2c1d0%24b9a84570%24%40lanthaler%40gmx.net
ISSUE-105: Graph vs. dataset syntaxes from Markus Lanthaler on 2012-12-05 (public-rdf-wg@w3.org from December 2012)

ISSUE-105: Graph vs. dataset syntaxes

While JSON-LD is a dataset syntax we expect that in most cases it will be
used to express simple graphs. This might become problematic if a consumer
is unable to process datasets -- even in the case where the dataset consists
of only the default graph. In JSON-LD we resolved this issue by specifying
that a consumer expecting a graph, MUST ignore everything but the default
graph.

This allows publishers to expose their graphs in, e.g., both JSON-LD and
Turtle. Summarized, the behavior of a consumer would be as follows:

Exposed  |  Expected  |  behavior
---------+------------+-----------
Data set |  graph     |  use default graph as graph, ignore rest
Data set |  data set  |  exposed = expected
Graph    |  data set  |  use graph as default graph in dataset
Graph    |  graph     |  exposed = expected


This might have consequences on how data should be modeled (what should be
put in the default graph and what in a named graph) but that's beyond the
scope of a syntax.

I would therefore like to propose to standardize this behavior for all RDF
data set syntaxes.


Regards,
Markus


--
Markus Lanthaler
@markuslanthaler

Received on Wednesday, 5 December 2012 18:14:16 UTC