Skip to content
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

hasMainClassification, hasAdditionalClassification codelist and example #397

Closed
VladimirAlexiev opened this issue Nov 6, 2022 · 4 comments
Assignees
Labels
module: ePO core ePO core type: feature request something requested to be implemented in a future release
Milestone

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Nov 6, 2022

These two props

epo:hasAdditionalClassification   rdf:type          owl:ObjectProperty ;
epo:hasMainClassification rdf:type          owl:ObjectProperty ;

Refer to "The codelist to be used is at-voc:cpv which is available at http://publications.europa.eu/resource/dataset/cpv".

In the browser this resolves to http://publications.europa.eu/resource/cellar/1356ebf8-80b9-11ea-bf12-01aa75ed71a1.0001.05/DOC_1, which is a gc.xml file and doesn't offer RDF nodes that can be used in an ObjectProperty. Here's how it looks:

	<SimpleCodeList>
		<Row>
			<Value ColumnRef="code">
				<SimpleValue>03000000</SimpleValue>
			</Value>
			<Value ColumnRef="Name">
				<SimpleValue>Agricultural, farming, fishing, forestry and related products</SimpleValue>
			</Value>

But if you get it with curl, you get an RDF file that refers to http://publications.europa.eu/resource/expression/cpv.
Get this with curl and you see another RDF file that has these triples:

<http://publications.europa.eu/resource/expression/cpv>
        cdm:expression_manifested_by_manifestation
                <http://publications.europa.eu/resource/distribution/cpv/rdf/skos_ap_eu> , 
                <http://publications.europa.eu/resource/distribution/cpv/rdf/skos_core> , 
                <http://publications.europa.eu/resource/distribution/cpv/xml/gc> ;

Finally, these 3 refer to machine-readable distributions of CPV:

I think the first is the richer one of the RDF formats. You can get it like this:

curl -LO http://publications.europa.eu/resource/distribution/cpv/rdf/skos_ap_eu/cpv-skos-ap-eu.rdf

Therefore please:

@VladimirAlexiev VladimirAlexiev changed the title hasMainClassification, hasAdditionalClassification reference hasMainClassification, hasAdditionalClassification codelist and example Nov 6, 2022
@VladimirAlexiev
Copy link
Author

The URLs in http://publications.europa.eu/resource/distribution/cpv/rdf/skos_core/cpv-skos.rdf are the same, and the file is much smaller (not because skos_ap_eu is much richer, but because it's formatted badly).

So it's better to refer to http://publications.europa.eu/resource/distribution/cpv/rdf/skos_core/cpv-skos.rdf (or http://publications.europa.eu/resource/distribution/cpv/rdf/skos_core)

@andreea-pasare andreea-pasare self-assigned this Feb 27, 2023
@andreea-pasare andreea-pasare added type: feature request something requested to be implemented in a future release act: for internal discussion it needs to be discussed within the team module: none no module in particular because the issue is of technical or documentation nature labels Feb 27, 2023
@andreea-pasare andreea-pasare added this to the 2023 Q2 milestone Feb 27, 2023
@andreea-pasare andreea-pasare added module: ePO core ePO core and removed act: for internal discussion it needs to be discussed within the team module: none no module in particular because the issue is of technical or documentation nature labels Feb 5, 2024
@andreea-pasare andreea-pasare modified the milestones: 2023 Q2, 4.1.0 Mar 14, 2024
@andreea-pasare
Copy link
Collaborator

The codelists are just recommendations in the ePO UML diagrams, therefore all reference to codelists in the machine readable files have been removed.

@VladimirAlexiev
Copy link
Author

Similar objections to closing this as #396

@andreea-pasare
Copy link
Collaborator

@VladimirAlexiev, thank you for your reply. This seems to be a change that needs to be done in model2owl. I added a ticket there regarding this request:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: ePO core ePO core type: feature request something requested to be implemented in a future release
Projects
None yet
Development

No branches or pull requests

2 participants