command
module
Version:
v0.1.16
Opens a new window with list of versions in this module.
Published: May 18, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ldget

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 Linux distros using the Snap store
- On MacOS using homebrew:
$ brew tap ontola/ldget https://github.com/ontola/ldget.git && brew install ontola/ldget/ldget
- Or install the binaries from the releases page
- Or build it yourself. Clone this repo and run
go get ./... && go install to install the dependencies and the binaries.
Usage
$ ldget triples ${subjectIRI} ${predicateIRI, optional} => returns the triples that match
$ ldget predicates ${subjectIRI} ${predicateIRI, optional} => returns the predicates that match
$ ldget objects ${subjectIRI} ${predicateIRI, optional} => returns 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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.