Re: Use cases for RDF Datasets in shape validation?

* Richard Cyganiak <richard@cyganiak.de> [2015-02-19 07:55+0000]
> Hi Arthur,
> 
> You said in yesterday's F2F discussions that you think of shapes as being evaluated against an RDF Dataset, not just a single RDF graph.
> 
> Are there recorded user stories or use cases, or any other documentation, that motivate the necessity for this?

I don't think so. I know JJC requested this and I expect that others
will to. I figured that once we told the world what the graph language
looked like, we'd hear back from LDP folks with use cases to stick
graphs here and there. A trivial one is that a fhir:Observation record
include either a patient ID or a reference to a patient in another
graph and that patient have an ID; the second option is in this example:

data:
    GRAPH <enc1234> {
        <enc1234> a :Encounter;
            Encounter:subject [
               a :ResourceReference;
               ResourceReference:reference "Patient/f201";
               ResourceReference:display "Roel";
            ].
    }
    GRAPH <Patient/f201> {
        <Patient/f201> a :Patient;
            Patient:identifier [
               a :Identifier;
               Identifier:system <urn:oid:1.2.36.146.595.217.0.1>;
               Identifier:value "12345";
               Identifier:period [
                  a :Period;
                  Period:start [
                     a fhir:dateTime;
                     fhir:value "2001-05-06";
                  ];
               ];
            ];
    }

I think this is relatively typical of the systems that keep stuff
about <X> in <X>.


> My thinking so far was that validating single graphs is sufficient but I’d be happy to be convinced otherwise.

I'm convinced that the use cases exist, and if we had a V2, it
would include graphs but have no idea whether we'll be sufficiently
motivated to go that far for V1.


> Richard

-- 
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

There are subtle nuances encoded in font variation and clever layout
which can only be seen by printing this message on high-clay paper.

Received on Thursday, 19 February 2015 14:38:39 UTC