Comments (11)
Maybe use the dcat output schema in CSW ?
from doc.
Possibly, but then documentation (latest now https://geonetwork-opensource.org/manuals/3.8.x/fr/api/index.html) seems wrong listing CSW
and RDF DCAT end point
as separate items
I guess i'm just dumb, and it's probably
{your server}/{your catalogue}/srv/eng/rdf.metadata.get?
If I do that on a GN 3.8.0.0 instance I get a message like:
{"error": { "message": "java.lang.Exception: Request must contain a UUID (uuid) or an ID (id)" , "class": "RuntimeException" , "request": {} } }
Which is promising, I guess I was expecting a way or interrogating the endpoint to discover capabilities, available records etc like a CSW endpoint, but perhaps you can just get a record if you somehow already know it's identifier?
from doc.
rdf.search allows you to get multiple records, and you can filter on (eg category) with rdf.search?_cat=foo. There's already an issue (#38) to get some documentation into that page. I don't think there's a method of discovering capabilities though, although it would be nice if there was...
from doc.
I think we should avoid to put too much efforts in search API doc as this will change a lot with Elasticsearch move and some of the services may even be removed ...
from doc.
So to summarise currently:
{your server}/{your catalogue}/srv/eng/rdf.metadata.get?uuid={some_uuid}
gets a RDF record and
{your server}/{your catalogue}/srv/eng/rdf.search?
gets a dcat:Catalog RDF response describing all records in the catalogue, but there is no link between the dcat:dataset rdf:resource URL and the RDF record URL, ~ there's no link with form {your server}/{your catalogue}/srv/eng/rdf.metadata.get?uuid={some_uuid}
, so even if we said the endpoint was {your server}/{your catalogue}/srv/eng/rdf
something wouldn't be as expected.
Possibly my starting point should be the, also undocumented, OpenSearch resource?
{your server}/{your catalogue}/srv/eng/portal.opensearch
which gives me inter al.
<Url type="application/rdf+xml" template="{your server}/{your catalogue}/srv/eng/rdf.search?any={searchTerms}&hitsPerPage={count?}&bbox={geo:box?}&geometry={geo:geometry?}&name={geo:locationString?}"/>
I'm not sure what effort should be put into documentation; some documentation would be good to describe what's currently available, and even a note to say what is likely to get replaced.
from doc.
https://trac.osgeo.org/geonetwork/wiki/proposals/DCATandRDFServices may help but is probably not completely up to date.
from doc.
I'm definitely in favour of some documentation on these blank pages- even if it's just the very basics outlined above. Something is better than nothing, and it's not a lot of effort. I'm happy to add the basics, if others can then add to it as they explore further. @nmtoken would you be able to contribute?
@fxprunayre Also definite +1 for a note on which endpoints are likely to be deprecated as I'm sure I'm not the only one who uses various endpoints for business-critical functions and would be in a lot of trouble if they were dropped!
from doc.
@archaeogeek I'll contribute if I'm able.
from doc.
@nmtoken and @fxprunayre I've submitted this PR #70 to get a basic page started. Any contributions gratefully accepted!
from doc.
slightly related here may be the future ogc-api-records endpoint, we have not yet considered how to adopt it, it will be an open api endpoint returning records (in various encodings i'd imagine).
I hope we can consider this endpoint in the upcoming elastic refactor
from doc.
Closing as cd5202c provides basics, anything additional can be added as a new issue
from doc.
Related Issues (20)
- Changelog Review (3.8.0/3.8.1): Associated resources page needs updating HOT 1
- Changelog Review (3.8.0): Thredds harvester page needs updating
- Changelog Review (3.8.2): CSW Harvester page needs updating
- Update QuickStart contents
- Update maintainer guide
- docs not clear where es/config scripts are located HOT 1
- Versioning docs missing HOT 2
- Autoupdate has stopped for a resource
- Use of master/minion in documentation HOT 1
- opensearch documentation
- Updating the application: manual section without content HOT 3
- wro4j inspected folders
- Failed Deployment WAR using jboss EAP 7.4 HOT 1
- Missing example event listener HOT 2
- Out of date images in implementing a schema plugin
- Creating a working metadata template to be edited HOT 1
- explain tools of the map
- Changelog Review (3.6.0): Formatter page needs updating
- Changelog review (3.6.0): OGC Harvesting Page needs a review
- Changelog Review (3.8.0/3.8.1): Need to include information on custom searches 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 doc.