osoc21 / ldes2service

Our goal is to build an SDK to make it easier for Data Publishers/Developers to publish their datasets as Linked Data Event Streams (LDES) and showcase its potential by creating a use-case for public transport services
https://osoc21.github.io/ldes2service/
MIT License
5 stars 0 forks source link

Fixing SHACL handling #62

Closed pietercolpaert closed 3 years ago

pietercolpaert commented 3 years ago

Fixes:

  1. [x] Dummy connector now outputs the schema on stdout
  2. [x] BlankNode shapes should work by just using the current page as quads input
  3. [x] Subject should be checked when extracting the shape
  4. [x] When no Shape could be found, we should return empty array
vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/demian-team/ldes2service-lerna/CWT9LJa7Swje85QvpNUNNHPnVKF6
✅ Preview: Failed

[Deployment for ff53dd4 failed]

pietercolpaert commented 3 years ago

Test case for blank nodes with this configuration:

{
  "replicator": {
    "ldes": [
      {
        "url": "https://streams.datapiloten.be/sensors"
      }
    ],
    "state": {
      "id": "replicator",
      "host": "localhost"
    },
    "polling_interval": 5000
  },
  "connectors": {
    "Dummy": {
      "type": "@ldes/ldes-dummy-connector",
      "settings": {
      }
    }
  }
}
pietercolpaert commented 3 years ago

@LotuxPunk Are you merging it in main tomorrow?