GithubHelp home page GithubHelp logo

Comments (15)

EmidioStani avatar EmidioStani commented on May 23, 2024 1

There is in place a way to generate and redirect m8g terms under:

http://data.europa.eu/m8g/

from core-location-vocabulary.

EmidioStani avatar EmidioStani commented on May 23, 2024

Hello @jakubklimek ,

the persistent URI service is divided in 2 components:

  1. the proxy, for dereferencing HTML responses e.g http://data.europa.eu/m8g/registeredAddress should redirect to https://semiceu.github.io/Core-Location-Vocabulary/releases/2.0.1/#Resource%3Aregistered%20address

  2. the puri, to satisfy RDF requests, currently with Accept header with text/turtle, application/n-triples and application/rdf+xml; we still need to evaluate what we want to keep.

The configuration for 1) and the RDF definitions for 2) are part of the SEMIC infrastructure.

So I restarted the persistent URI service and it should work now.

Is there a serialization you prefer/need ? Just to take it in account for our evaluation.

from core-location-vocabulary.

jakubklimek avatar jakubklimek commented on May 23, 2024

@EmidioStani thanks. I prefer text/turtle and application/ld+json

from core-location-vocabulary.

jakubklimek avatar jakubklimek commented on May 23, 2024

@EmidioStani ok, now I indeed get:

$ curl -L -H"Accept: text/turtle" http://data.europa.eu/m8g/registeredAddress
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<http://data.europa.eu/m8g/registeredAddress> a rdf:Property,
        owl:ObjectProperty ;
    rdfs:label "registered address"@en ;
    rdfs:comment "The registered address relationship links a Resource with the legally registered Address."@en ;
    rdfs:isDefinedBy <http://data.europa.eu/m8g> .

But, the original question was more about whether there is an RDFS file somewhere with all the m8g:* definitions, similarly to other core vocabularies. I am a bit confused because if the HTML version redirects to the Core Location Vocabulary, then I would assume that m8g:registeredAddress is considered a part of that. But it is not defined in its RDFS file.

from core-location-vocabulary.

bertvannuffelen avatar bertvannuffelen commented on May 23, 2024

@jakubklimek

This is a partly due to historical reasons. Instead of creating within the m8g a subnamespace that would coincide with each Core Vocabulary all terms have been placed in the same namespace (the root).

That creates a mismatch between the scope: from the html representation this is a subset, but from the RDF representation this is like a random split.
We have created the Consolidated Diagram that covers all terms and associated with that the complete RDF could be associated, but that has not yet found an "official publication" place in its own right.

But normally you should be able to curl -H "Accept:text/turtle" http://data.europa.eu/m8g to get the full RDF.

from core-location-vocabulary.

jakubklimek avatar jakubklimek commented on May 23, 2024

@bertvannuffelen I understand, but the dereference service must take the data from somewhere, right? Could the contents of that "somewhere" be published as a full RDF file, maybe temporarily, in a separate repo or something like that? It is nice that the individual m8g terms are dereferencable, but I want to see/use all m8g terms that are defined, e.g. in a modeling tool that would allow me to actually work with the terms.

Actually, the only place I found a set of m8g definitions, more specifically the definition of m8g:registeredAddress is here so I guess one could download the whole directory to get the definitions, if that is the source.

But normally you should be able to curl -H "Accept:text/turtle" http://data.europa.eu/m8g to get the full RDF.

Unfortunately, $ curl -L -H "Accept:text/turtle" http://data.europa.eu/m8g yields the HTML page.

from core-location-vocabulary.

jakubklimek avatar jakubklimek commented on May 23, 2024

Maybe there could be a GitHub Action defined on the repo that just collects the triples from the individual .ttl files and stores it in a single file for convenience?

from core-location-vocabulary.

bertvannuffelen avatar bertvannuffelen commented on May 23, 2024

Actually, the only place I found a set of m8g definitions, more specifically the definition of m8g:registeredAddress is here so I guess one could download the whole directory to get the definitions, if that is the source.

yes, that is the data layer for the puri proxy service. The goal is that contains the full m8g namespace.

But normally you should be able to curl -H "Accept:text/turtle" http://data.europa.eu/m8g to get the full RDF.

Unfortunately, $ curl -L -H "Accept:text/turtle" http://data.europa.eu/m8g yields the HTML page.

That is a bug then. I will fix it.

from core-location-vocabulary.

EmidioStani avatar EmidioStani commented on May 23, 2024

from core-location-vocabulary.

jgmikael avatar jgmikael commented on May 23, 2024

Hi, I was referred from my initial issue #43 (closed) to this issue.
Can you please explain to a layman whether it's possible to publish the JSON-LD version of the Core Vocabularies in the same way as the RDF you are discussing above?

In our interoperability tool it's possible to for instance point directly to https://vocabulary.uncefact.org/ and then make use of the vocabulary when modeling SHACL Shapes based on the original "reference data model".

If I point to http://data.europa.eu/m8g at the moment nothing happens :-)

from core-location-vocabulary.

jakubklimek avatar jakubklimek commented on May 23, 2024

@jgmikael Just out of curiosity, can you provide details on you interoperability tool?

That is a bug then. I will fix it.

@bertvannuffelen any progress on fixing the bug?

from core-location-vocabulary.

jgmikael avatar jgmikael commented on May 23, 2024

@jakubklimek
General info about the "Interoperability Platform" that consists of several tools: https://wiki.dvv.fi/display/YTIJD/Finnish+interoperability+platform+and+tools

On this particular page you can find a technical overview of the platform architecture: https://wiki.dvv.fi/display/YTIJD/Material+in+English

from core-location-vocabulary.

jgmikael avatar jgmikael commented on May 23, 2024

Hi, since my initial issues opened in both the Person and Business pages were closed with a reference to this discussion it would be nice to know whether anyone is actually doing anything with my requests? Please respond also if you find it totally irrelevant, which I simply don't know why anyone would.

from core-location-vocabulary.

EmidioStani avatar EmidioStani commented on May 23, 2024

The properties under m8g namespace can now be reached via content negotiation as JSON-LD, example:

http://data.europa.eu/m8g/accessibility

with Accept header set to application/ld+json

To get overall, redirection has to be put in place.

from core-location-vocabulary.

jakubklimek avatar jakubklimek commented on May 23, 2024

@EmidioStani @bertvannuffelen any idea when this will be made functional? It has been more than 2 months since I opened the issue...

from core-location-vocabulary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.