Does EDC conform to the Dataspace Protocol? #4351
-
@jimmarino, @paullatzelsperger, cc @tmberthold, @nkapetanas, @robert-david #4242 and #3305 talk about payload that:
We've seen similar payload in the Sovity dataspace that extends EDC and that we use:
But the Dataspace Protocol specifies the use of DCAT, eg see
Can you point us to specs and examples that show whether EDC payload conforms to the Dataspace Protocol (DCAT), and how |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
No implementation can "conform" to DSP because a TCK has not been published at Eclipse. This is a work in progress and EDC does intend to pass the TCK when it is available. Also, note that DSP profiles DCAT and ODRL, which will imply a subset of those specifications. |
Beta Was this translation helpful? Give feedback.
-
Ok @jimmarino , I understand that DSP uses particular subsets of DCAT and ODRL. Eg can you show the payload of a Catalog response, and how |
Beta Was this translation helpful? Give feedback.
-
Hi, adding to the conversation two example data, one for a catalog asset as provided on the connector and then it's jsonld representation which is also part of the former. We are using the Sovity CaaS connector which is currently in version 8.1.0 which is if I am not wrong aligned with edc-core in version 0.2.1.3 response.json {
"endpoint": "https://connector1/api/dsp",
"participantId": "https://connector1",
"asset": {
"assetId": "test01-1.0",
"connectorEndpoint": "https://connector1/api/dsp",
"participantId": "https://connector1",
"title": "test01",
"creatorOrganizationName": "sovity GmbH",
"language": "https://w3id.org/idsa/code/EN",
"description": "# Hello World\nThis is a test dataset to use the data transfer on the sovity connector",
"descriptionShortText": "Hello World This is a test dataset to use the data transfer on the sovity connector",
"isOwnConnector": false,
"publisherHomepage": "https://example.com",
"licenseUrl": "https://example.com/license",
"version": "1.0",
"keywords": [
"keyword",
"concept"
],
"mediaType": "custom/type",
"landingPageUrl": "https://example.com/documentation",
"httpDatasourceHintsProxyMethod": false,
"httpDatasourceHintsProxyPath": false,
"httpDatasourceHintsProxyQueryParams": false,
"httpDatasourceHintsProxyBody": false,
"dataCategory": null,
"dataSubcategory": null,
"dataModel": null,
"geoReferenceMethod": null,
"transportMode": null,
"sovereignLegalName": null,
"geoLocation": null,
"nutsLocations": [],
"dataSampleUrls": [],
"referenceFileUrls": [],
"referenceFilesDescription": null,
"conditionsForUse": null,
"dataUpdateFrequency": null,
"temporalCoverageFrom": null,
"temporalCoverageToInclusive": null,
"assetJsonLd": "{\"@id\":\"test01-1.0\",\"@type\":\"https://w3id.org/edc/v0.0.1/ns/Asset\",\"https://w3id.org/edc/v0.0.1/ns/properties\":{\"http://purl.org/dc/terms/license\":\"https://example.com/license\",\"http://www.w3.org/ns/dcat#keyword\":[\"keyword\",\"concept\"],\"https://semantic.sovity.io/dcat-ext#httpDatasourceHintsProxyBody\":\"false\",\"https://semantic.sovity.io/dcat-ext#httpDatasourceHintsProxyPath\":\"false\",\"http://purl.org/dc/terms/language\":\"https://w3id.org/idsa/code/EN\",\"http://purl.org/dc/terms/description\":\"# Hello World\\nThis is a test dataset to use the data transfer on the sovity connector\",\"http://purl.org/dc/terms/publisher\":{\"http://xmlns.com/foaf/0.1/homepage\":\"https://example.com\"},\"https://semantic.sovity.io/dcat-ext#httpDatasourceHintsProxyMethod\":\"false\",\"http://www.w3.org/ns/dcat#version\":\"1.0\",\"http://www.w3.org/ns/dcat#distribution\":{\"http://www.w3.org/ns/dcat#mediaType\":\"custom/type\"},\"http://purl.org/dc/terms/creator\":{\"http://xmlns.com/foaf/0.1/name\":\"sovity GmbH\"},\"http://www.w3.org/ns/dcat#landingPage\":\"https://example.com/documentation\",\"http://purl.org/dc/terms/title\":\"test01\",\"https://w3id.org/edc/v0.0.1/ns/id\":\"test01-1.0\",\"https://semantic.sovity.io/dcat-ext#httpDatasourceHintsProxyQueryParams\":\"false\"}}",
"customJsonAsString": null,
"customJsonLdAsString": "{}",
"privateCustomJsonAsString": null,
"privateCustomJsonLdAsString": "{}"
},
"contractOffers": [
{
"contractOfferId": "someId",
"policy": {
"policyJsonLd": "{\"@id\":\"someid2\",\"@type\":\"http://www.w3.org/ns/odrl/2/Set\",\"http://www.w3.org/ns/odrl/2/permission\":[{\"http://www.w3.org/ns/odrl/2/target\":\"test01-1.0\",\"http://www.w3.org/ns/odrl/2/action\":{\"http://www.w3.org/ns/odrl/2/type\":\"USE\"},\"http://www.w3.org/ns/odrl/2/constraint\":[{\"http://www.w3.org/ns/odrl/2/leftOperand\":{\"@value\":\"ALWAYS_TRUE\"},\"http://www.w3.org/ns/odrl/2/operator\":[{\"@id\":\"http://www.w3.org/ns/odrl/2/eq\"}],\"http://www.w3.org/ns/odrl/2/rightOperand\":{\"@value\":\"true\"}}]}],\"http://www.w3.org/ns/odrl/2/prohibition\":[],\"http://www.w3.org/ns/odrl/2/obligation\":[],\"http://www.w3.org/ns/odrl/2/target\":\"test01-1.0\"}",
"constraints": [
{
"left": "ALWAYS_TRUE",
"operator": "EQ",
"right": {
"type": "STRING",
"value": "true"
}
}
],
"errors": []
}
}
]
} assetJsonLd unescaped and formatted {
"@id":"test01-1.0",
"@type":"https://w3id.org/edc/v0.0.1/ns/Asset",
"https://w3id.org/edc/v0.0.1/ns/properties":{
"http://purl.org/dc/terms/license":"https://example.com/license",
"http://www.w3.org/ns/dcat#keyword":[
"keyword",
"concept"
],
"https://semantic.sovity.io/dcat-ext#httpDatasourceHintsProxyBody":"false",
"https://semantic.sovity.io/dcat-ext#httpDatasourceHintsProxyPath":"false",
"http://purl.org/dc/terms/language":"https://w3id.org/idsa/code/EN",
"http://purl.org/dc/terms/description":"# Hello World\nThis is a test dataset to use the data transfer on the sovity connector",
"http://purl.org/dc/terms/publisher":{
"http://xmlns.com/foaf/0.1/homepage":"https://example.com"
},
"https://semantic.sovity.io/dcat-ext#httpDatasourceHintsProxyMethod":"false",
"http://www.w3.org/ns/dcat#version":"1.0",
"http://www.w3.org/ns/dcat#distribution":{
"http://www.w3.org/ns/dcat#mediaType":"custom/type"
},
"http://purl.org/dc/terms/creator":{
"http://xmlns.com/foaf/0.1/name":"sovity GmbH"
},
"http://www.w3.org/ns/dcat#landingPage":"https://example.com/documentation",
"http://purl.org/dc/terms/title":"test01",
"https://w3id.org/edc/v0.0.1/ns/id":"test01-1.0",
"https://semantic.sovity.io/dcat-ext#httpDatasourceHintsProxyQueryParams":"false"
}
} |
Beta Was this translation helpful? Give feedback.
-
@tmberthold Can you provide some examples of DCAT JSON-LD exchanged by EDC/Sovity? |
Beta Was this translation helpful? Give feedback.
-
quick reminder to @skarampatakis and @tmberthold that this is the EDC repository, and discussions should be strictly limited to EDC topics. I believe the original question of "Does EDC conform to the Dataspace Protocol?" was answered, so I will mark it such. Furthermore, I believe the discussion has veered far enough off the topic that we can close it. Be advised that questions about downstream projects and statements bordering on advertisements will not be tolerated. |
Beta Was this translation helpful? Give feedback.
No implementation can "conform" to DSP because a TCK has not been published at Eclipse. This is a work in progress and EDC does intend to pass the TCK when it is available.
Also, note that DSP profiles DCAT and ODRL, which will imply a subset of those specifications.