-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Predicate to link from Distribution to Dataset #1322
Comments
Thanks for contributing this use case, @joepio . An inverse relationship for At the moment, what you can do is to include also a statement Could you give us some more details about your use case, to better understand your requirements? E.g., are your metadata consumed via a SPARQL endpoint or a catalogue platform? |
Thanks for replying so quickly!
This could work in some cases, but it kind of conflicts with our linked data architecture, since it would require the server to be aware of which incoming links are relevant to a resource. Our architecture basically works like this: user fetches subject x, server returns all triples for that subject (but not incoming links or other external statements describing this resource). We use subjects to actually render resources, and we use predicates to render properties. So if a user would open the URL of a Distribution, they would see the item. In that view, I'd like to show the Dataset, but that would require the Distribution resource to have a link to the Dataset. There's also a second usecase - we emit changes to resources in a (kafka) bus, which is used by other apps to synchronize state changes. If a Distribution is created, it is sent to the bus, but now the listening systems (e.g. a search index) need to know under which Dataset it should be nested. |
Sounds like more evidence for the requirement for inverse predicates to be defined. |
Hi @riannella, I had hoped an inverse of I'm wanting to use DCAT alongside the CSV on the Web (CSVW) standard for describing CSV files. I have a CSV file which is a distribution of some A CSVW metadata file is valid JSON-LD, but has some strict rules about what can and cannot be included. Its test suite prohibits the use of the A CSVW metadata file might look something as follows: {
"@context": ["http://www.w3.org/ns/csvw", {"@language": "en"}],
"@id": "http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv",
"url": "http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv",
"tableSchema": {
"columns": [
{"name": "location"},
{"name": "easting"},
{"name": "northing"}
]
}
} I believe I have a need for a {
"@context": ["http://www.w3.org/ns/csvw", {"@language": "en"}],
"@id": "http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv",
"dcterms:title": "Grit bin locations (CSV format)",
"dcat:isDistributionOf": {
"@id": "https://datamillnorth.org/dataset/grit-bin-locations",
"dcterms:title": "Grit bin locations"
},
"url": "http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv",
"tableSchema": {
"columns": [
{"name": "location"},
{"name": "easting"},
{"name": "northing"}
]
}
} Running <http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv> <http://purl.org/dc/terms/title>
"Grit bin locations (CSV format)"@en;
<http://www.w3.org/ns/dcat#isDistributionOf> <https://datamillnorth.org/dataset/grit-bin-locations> .
<https://datamillnorth.org/dataset/grit-bin-locations> <http://purl.org/dc/terms/title>
"Grit bin locations"@en .
<http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#646> <http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#easting>
"434546.27638200000";
<http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#location> "646";
<http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#northing> "428380.45163300000" .
<http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#6212> <http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#easting>
"434644.81909500000";
<http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#location> "6212";
<http://opendata.leeds.gov.uk/downloads/gritting/grit_bins.csv#northing> "428412.41143200000" . |
Seems like from the DCAT perspective, the resource of interest would be a DCAT dataset with a CSVW distribution, no additional DCAT properties required. From the CSVW perspective, you are describing a particular representation (distribution) of a dataset, and want to link back to the 'abstract' (implementation independent) identifier for the dataset information. I would look for a CSVW property to link a tabular data representation of the resource to its parent information object (the implementation-independent dataset). This would be a CSVW issue |
Hi @rossbowen - I tried, but did not convince them :-) |
Thankyou - hopefully this new use-case can be considered. I agree that the issue sits with CSVW (and I think if a new working group were to convene that one of the outcomes may well be that CSVW support the whole JSON-LD dialect), but I don't think CSVW coining a new property which is effectively the same as a |
We're implementing a Datasets and Distributions, and we have a need to link to a Dataset coming from a Distribution. Users can see a Distribution, and I want them to be able to see which Dataset it is part of. In the specification I wasn't able to find a property / predicate URL for this. Maybe I'm missing something, or maybe there's a good reason not to include this relationship. Do you have an alternative to use in this context?
The text was updated successfully, but these errors were encountered: