Coder Social home page Coder Social logo

Comments (5)

ptsefton avatar ptsefton commented on August 18, 2024

Doing it like this will likely break our libraries which don't know how to deal with literals like this:

 "geosparql:asWKT": {
  "@type": "http://www.opengis.net/ont/geosparql#wktLiteral",
"@value": "POINT(-76 -18)"
 },

from ro-crate.

marc-portier avatar marc-portier commented on August 18, 2024

Just checked how we ended up using these inside the LOD publications of https://MarineRegions.org/

From there 2 possible tips:

  1. declare the @type of these property once in the @context, so not to repeat it on every instance
     "@context": { 
         "gsp": "http://www.opengis.net/ont/geosparql#"
         "gsp:asWKT": { 
              "@type": "gsp:wktLiteral"
  2. and then on the values you use it also include a <URI> to depict the chosen CSR (projection system) at the start of the WKT literal:
        "gsp:asWKT": "<http://www.opengis.net/def/crs/OGC/1.3/CRS84> POINT(-76 -18)"

you can check this online from the source for e.g.

curl -L --url "http://marineregions.org/mrgid/2196" -H "Accept: application/ld+json"  | python -m json.tool

HTH

from ro-crate.

ptsefton avatar ptsefton commented on August 18, 2024

@stain can you add this to the @context - I will add something to the text about how to use it for ContextualEntities

from ro-crate.

stain avatar stain commented on August 18, 2024

Ping @rapw3k on checking on Earth Sciences approach

from ro-crate.

stain avatar stain commented on August 18, 2024

Implemented by #288 that overrides #287.

from ro-crate.

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.