Comments (5)
You should also consider publishing using established ontologies. Eg with schemaorg, this could look like:
@prefix uncefact: <https://service.unece.org/trade/uncefact/>.
@prefix unlocode: <https://service.unece.org/trade/uncefact/vocabulary/unlocode/>.
@prefix schema: <http://schema.org/>.
unlocode:CHGVA a schema:State;
schema:name "Geneve";
uncefact:locode "CHGVA";
schema:containedInPlace unlocode:CH;
schema:sameAs <https://sws.geonames.org/2660645/>.
uncefact:locode rdfs:subPropertyOf schema:identifier.
(All LOCODEs are ADM1 administrative divisions, right?
from spec-jsonld.
Well there's an interesting question here. UNECE is the authority for locodes but they are published as csv / pdf etc not as a json-ld vocabulary.
Our project has taken a simple mapping approach for all codes - of which locked us only one. But it loses rich semantics when the code list is a richer data set than simple name-value pairs (like locode which has port type etc)
Looks like locode.info has done a nice job - but is it authoritative? I suspect that, as an official UNCEFACT project, we should define a better vocabulary publishing model for locodes (pathos's inspired by locode.info) and basically do a proper job of it
from spec-jsonld.
@onthebreeze, or we could make a statement which points at locode.info and pull it from vocab on the UN server. I certainly have little appetite to reinvent the wheel and repeat what has been done already. Plus, if locode.info is already in use, it's arguably an anti-pattern to introduce a new one. @VladimirAlexiev I'd love your input on these considerations?
from spec-jsonld.
I don't know where locode.info came from, or who uses them.
If you have authoritative LOCODE info, it's better to use it: I hope it won't be a lot of work to map it.
@onthebreeze would you care to make issue(s) for other codelists that can be enriched, i.e. all of their data published as JSONLD?
from spec-jsonld.
I added a note about this in the NDR spec. I think that's as far as we should go; it's really not a recommendation as long as we have no idea of how it is maintained - if at all.
from spec-jsonld.
Related Issues (20)
- Inconsistent Naming with Header Objects, and alignment with the UNCEFACT JSON Schema HOT 2
- Update LOCODE from 2021 to 2022
- Update from 22A to 22B HOT 2
- Missing LOCODE property
- unlocode.jsonld doesn't define prefix `unlcdf` HOT 1
- the two contexts are not used in the ontology; ensure stable URL, updatability, content type
- direct download of uncefact and unlocode jsonld
- use `uncefact` or `unece` consistently HOT 2
- `unlcdv:functions` should be spelled in singular
- update namespace of the uncefact ontology HOT 1
- add owl:Ontology to uncefact and unlocode ontologies
- codelist properties are missing from ontology and list of props
- add jsonld representation of codelists, move them to a sub-namespace HOT 1
- normalize `cefactBusinessProcess`
- overlapping CodeList vs non-codelist properties
- website and ontology are not in sync! HOT 2
- access to test.uncefact.org?
- data props wrongly declared as owl:ObjectProperty HOT 1
- Old codes not included in current release
- json ld validation errors HOT 4
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 spec-jsonld.