An open API service indexing awesome lists of open source software.

https://github.com/atomgraph/http-in-rdf

HTTP-in-RDF processor
https://github.com/atomgraph/http-in-rdf

http-client http-headers http-in-rdf linked-data metadata-extractor rdf

Last synced: about 2 months ago
JSON representation

HTTP-in-RDF processor

Awesome Lists containing this project

README

        

# HTTP-in-RDF

Basic [HTTP Vocabulary in RDF 1.0](https://www.w3.org/TR/HTTP-in-RDF10/) processor.

## Usage

java -jar http-in-rdf-1.0.0-SNAPSHOT-jar-with-dependencies.jar URI AcceptHeader

## Example

Command:

java -jar http-in-rdf-1.0.0-SNAPSHOT-jar-with-dependencies.jar https://atomgraph.com "text/turtle"

Result as Turtle:

```turtle
_:b0 a ;

"Link" ;

"; rel=type" .

_:b1 a ;

"Date" ;

"Tue, 13 Aug 2019 10:00:10 GMT" .

[ a ;

( _:b2 )
] .

_:b3 a ;

"Transfer-Encoding" ;

"chunked" .

_:b4 a ;

"Server" ;

"Apache-Coyote/1.1" .

_:b5 a ;

"Link" ;

"; rel=https://www.w3.org/ns/ldt#base" .

_:b6 a ;

"Content-Type" ;

"text/turtle;charset=UTF-8" .

_:b7 a ;

"Cache-Control" ;

"max-age=3600, public" .

_:b8 a ;

"Accept" ;

"text/turtle" .

_:b9 a ;

"ETag" ;

"\"df2baeb2b4986da5\"" .

_:b10 a ;

"Link" ;

"; rel=https://www.w3.org/ns/ldt#ontology" .

_:b2 a ;

"" ;

( _:b11 _:b8 ) ;

"GET" ;

;

[
( _:b3 _:b7 _:b12 _:b4 _:b9 _:b13 _:b14 _:b1 _:b5 _:b10 _:b0 _:b6 ) ;

"OK" ;

"200"^^
] .

_:b14 a ;

"Expires" ;

"Thu, 01 Jan 1970 01:00:00 CET" .

_:b11 a ;

"Host" ;

"atomgraph.com" .

_:b12 a ;

"Cache-Control" ;

"private" .

_:b13 a ;

"Vary" ;

"Accept-Charset,Accept" .
```