Comments (15)
There is in place a way to generate and redirect m8g terms under:
from core-location-vocabulary.
Hello @jakubklimek ,
the persistent URI service is divided in 2 components:
-
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
-
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.
@EmidioStani thanks. I prefer text/turtle and application/ld+json
from core-location-vocabulary.
@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.
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.
@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.
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.
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.
from core-location-vocabulary.
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.
@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.
@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.
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.
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.
@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)
- politicalGeocodingURI needed not only adminUnitL2 HOT 5
- Representing the vocabulary in UML/HTML HOT 1
- Terminology and definitions in the core vocabularies HOT 1
- Is an Address a Spatial Object? HOT 8
- Administrative Unit: need for clarification HOT 4
- Registered address HOT 3
- Readme file is largely about the Core Person Vocabulary HOT 1
- Consolidated diagrams Core Vocabularies HOT 1
- Property adminUnitL2 HOT 1
- Expected Range "String" in the class Address should be replaced by "Literal" HOT 3
- Attribute for street name and number HOT 2
- Remove round brackets in JSON-LD context HOT 1
- Datatypes of SEMIC-Address:Address.adminUnit and INSPIRE-Address:AddressRepresentation.adminUnit differ HOT 4
- URI of RegisteredAddress HOT 3
- Datatype for the property locn:locatorDesignator should be text (rdf:langString)? HOT 1
- Resource.location and Resource.address have the wrong associated uri HOT 1
- How to use m8g:AdminUnit with NUTS?
- A structural way to represent address supplements. HOT 12
- Properly referencing the vocabulary HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core-location-vocabulary.