Skip to content

Instantly share code, notes, and snippets.

@mommi84
Created May 26, 2020 00:22
Show Gist options
  • Save mommi84/68f09f226a89ae371301db6a027c8f7a to your computer and use it in GitHub Desktop.
Save mommi84/68f09f226a89ae371301db6a027c8f7a to your computer and use it in GitHub Desktop.
Count triples in the LOD cloud.
#!/bin/bash
curl -s https://lod-cloud.net/lod-data.json | jq '.[] | .triples' | sed -e $'s/"//g' | awk '{s+=$1} END {printf "%d\n", s}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment