Tools for RDF

The folowing tools are available in /net/aps/bin

rqw

A command line tool for querying SPARQL endpoints.

Example usage:

rqw -F tsv \
    -e https://noordergraf.rug.nl:10036/repositories/noordergraf \
    -Q 'select ?name ?lat ?long {
         ?site a :Site .
	 ?site :siteName ?name .
	 ?site :geo / :geoLat ?lat .
	 ?site :geo / :geoLong ?long .
      }
      order by ?lat
      limit 20'

Run rqw -h for options.

Docs: SPARQLWrapper

shaclinfer.sh
shaclvalidate.sh

Validate a Turtle datafile.

Example usage:

shaclvalidate.sh \
    -shapesfile /net/noordergraf/demo/shapefile.ttl \
    -datafile /net/noordergraf/demo/datafile.ttl

TODO: shaclinfer.sh

Docs: TopQuadrant shacl