ldget

command module
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

README

ldget

Build Status GitHub

A simple command line interface tool to get RDF items using HTTP GET requests.

When should you use this?

  • You need RDF data as Stdout.
  • You want to write bash scripts that use linked data.
  • You need to check triple values from inside your terminal.

Installation

  • On MacOS using homebrew: $ brew tap ontola/ldget https://github.com/ontola/ldget.git && brew install ontola/ldget/ldget

Usage

  • $ ldget object ${subjectIRI} ${predicateIRI} => returns the values of the objects that match
  • $ ldget help => help file
  • $ ldget prefixes => shows your configured prefixes

Prefixes

URLs are awesome, but they are cumbersome to remember and type. You can specify a set of prefixes in ~/.ldget/prefixes for mapping URLS to shorthands.

schema=http://schema.org/
joep=https://argu.co/argu/u/joep

$ ldget objects joep schema:description

Install

  • $ git clone git@github.com:ontola/ldget.git
  • $ go get ./.. Install all dependencies
  • $ go install Install binary

Test

  • $ go test

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL