Closed DominikPinsel closed 2 years ago
Is it correct to put the ContractOffer into each Ressource?
Yes. You can reference a ContractOffer from the line 65 to 103 in a Resource template https://github.com/International-Data-Spaces-Association/InformationModel/blob/develop/examples/domain-specific-semantics-using-SHACL/TEMP_RESOURCE.ttl.
Is it correct that the ContractOffer of one Resource may reference artifacts of other Resources?
Yes. In IDS Infomodel, we use ids:target to point from one Rule inside a ContractOffer to its Resource artifact. The range of ids:target should be a URI representing either an Asset or an AssetCollection. When it is pointing to an AssetCollection, then it references not only one Resource but also other Resources.
@changqin26 Thanks for your reply. That's really interesting. I must say, that I never thought about AssetCollection IDs in Contracts until now. So to stay with the weather example. The best way to do this would be:
Resource
for each cityAssetCollection
, containing each Resource
ContractOffer
, targeting the AssetCollection
ContractOffer
into each Resource
Dominik Pinsel dominik.pinsel@daimler.com, Daimler TSS GmbH, legal info/Impressum
Yes, in this way, the content of the ContractOffer
will apply to each Resource
in the AssetCollection
.
@changqin26 Perfect :) Then I've understood your explanation and will close this issue. Thanks a lot 👍
Dominik Pinsel dominik.pinsel@daimler.com, Daimler TSS GmbH, legal info/Impressum
Hello everyone,
I've got a question regarding the
Resource
andContractOffer
.I'm assume that a
Resource
is the thing I want to exchange. For example if I have weather data for different cities, I would create aResource
object for each city. And thisResource
then has it differentRepresentations
andArtifacts
of the data. For me it gets confusing when I want to create aContractOffer
for the weather data of the 10 largest cities in Germany. The part I understand is that I now have create 10xResource
and 1xContractOffer
. But how do I represent the relationship between them?ContractOffer
into eachRessource
?ContractOffer
of oneResource
may reference artifacts of otherResources
?Dominik Pinsel dominik.pinsel@daimler.com, Daimler TSS GmbH, legal info/Impressum