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

Publishing of the RDF/OWL or JSON-LD version with resolvable URIs and content negotiation on EU server #46

Closed
jgmikael opened this issue Oct 17, 2023 · 10 comments

Comments

@jgmikael
Copy link

Hi,

I'm afraid I have to request the re-opening of my closed issue #43 since the answers you have given in issue SEMICeu/Core-Location-Vocabulary#28
are not satisfactory.

There still isn't a functioning way of pointing at an URI of a class or attribute in the Core Business Vocabulary through using the namespace http://data.europa.eu/m8g

In out Core Vocabularies tool on the national Interoperability Platform, I can for instance point at classes and attributes in

These are examples of standard Linked Data publishing = the classes and attributes and associations are directly accessible from our modeling tool, no offline copying needed.

If you still please could look into this issue or at least clarify why Core Business has been left totally out of the loop (developments taking place only in the Core Location Vocabulary), thank you in advance!

@bertvannuffelen
Copy link
Contributor

@jgmikael I am not sure what your concern is:

At this moment the behaviour is as follows:

  1. individual URIs of the Core Vocs e.g. http://data.europa.eu/m8g/PublicOrganisation, are human and machine readible available.
    in your browser http://data.europa.eu/m8g/PublicOrganisation is redirected to https://semiceu.github.io/CPOV/releases/2.1.0/#PublicOrganisation
    curl -L -H "Accept: text/turtle" http://data.europa.eu/m8g/PublicOrganisation returns the turtle representation.
  2. As full collection only the aggregates RDF file is available at the moment.

So what are you expecting, or looking for? Can you make it very concretely?

@jgmikael
Copy link
Author

Problem is that I cannot personally since I rely on my tech team and they've said it is enough to ask for "resolvable URIs and content negotiation" > this request worked with the UN/CEFACT team.

I'll ask for someone on our tech side to drop a more concrete line to this issue, thanks for your patience!

@amiika
Copy link

amiika commented Oct 19, 2023

I think the issue is that the response content-type is text/html for:

curl -L -I "Accept: text/turtle" http://data.europa.eu/m8g/

Request is done by accepting multiple types of RDF from the namespace with priorities like:

Accept: application/rdf+xml;q=1,application/turtle;q=0.8,application/x-turtle;q=0.8,text/turtle;q=0.8,application/ld+json;q=0.7,text/rdf+n3;q=0.5,application/n3;q=0.5,text/n3;q=0.5

If the response does not return the correct content-type that has been found and instead gives wrong content-type like text/html systems must infer the content-type which in this case fails for some reason.

@bertvannuffelen
Copy link
Contributor

@amiika are you responding on behalf of @jgmikael tech team?

If not, then I still wait for them to make their comments as I would like to understand their usage pattern.

@jgmikael
Copy link
Author

jgmikael commented Oct 19, 2023 via email

@bertvannuffelen
Copy link
Contributor

@jgmikael thanks for the clarification.

@amiika as written earlier: today there is for the full download of the RDF file available.
I agree that the content negotation for that whole document could be improved.

Aside from that what is your usage pattern? How does content negotation fits in your usage?

@amiika
Copy link

amiika commented Oct 23, 2023

@bertvannuffelen At the moment, the Finnish interoperability platform is resolving data models only trough namespaces. This was done to ensure that no-one is claiming or polluting namespaces that they don't actually own. Ideally it works, but often ends up with issues like this.

I didn't find any other issue with the content negotiation other than it is not returning the right Content-type for the response. I think this issue could be fixed by using updated Jena library to guess the Content-type better, but it would take some time to do the updates to the new upcoming version.

However, in ideal world, you would get the Content-type from the response and the requester would know which type of format to parse.

@EmielPwC
Copy link
Member

Hello @amiika @jgmikael,

The issue should be resolved now could you test and verify our current fix in your system?

Kind regards,
The SEMIC team

@RiittaA
Copy link

RiittaA commented Jul 18, 2024

Hello @EmielPwC and @jgmikael,
as the superuser of our FI-platform I can confirm, that your fix seems to be working now. We tested it in our test environment and can see the resources properly, i.e. as resolvable and thus reusable.

@jgmikael
Copy link
Author

jgmikael commented Jul 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants