Code Monkey home page Code Monkey logo

core's Introduction

Core is a Linked Data framework. It crosses Apache Jena RDF API with the JAX-RS REST API (Eclipse Jersey implementation), providing in a uniform Linked Data API.

Core serves as a base for AtomGraph Processor. It is implemented as a Java Web application (uses Maven).

Features

AtomGraph Core server provides features similar to that of Pubby:

  • serving Linked Data from a SPARQL endpoint
  • HTTP Basic authentication for endpoints

For more advanced features and configuration, see AtomGraph Processor.

Configuration

The Core is configured in web.xml

Uncomment http://www.w3.org/ns/sparql-service-description#endpoint and https://w3id.org/atomgraph/core#graphStore init parameters and provide their values. Otherwise the server will not start.

Linked Data API

  • low-level access to remote Linked Data resources and SPARQL endpoints
  • JAX-RS interfaces and implementations of a Linked Data resources
  • JAX-RS providers for input and output of RDF data

Documentation

Dependencies

core's People

Contributors

dependabot[bot] avatar gliuk avatar mikel-egana-aranguren avatar namedgraph avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

core's Issues

pom.xml missing

It seems pom.xml is in the .gitignore file, and has not been checked in. This makes it difficult for others to build the source code.

Accept header based on Jena-supported formats

Instead of hand-crafted list, generate the Accept header value according to the list of RDF readers/parsers the current Jena dependecy supports.
There will still be a need to qualify (prioritize) the media types.

g:LabelMode

Templates for labels needed as g:label() function is too inflexible (templates are easier to override)

Response EntityTag should depend on Variant

Right now the EntityTag is generated as a hash of the RDF response Model, which means all serializations, including XHTML, get the same value. This leads to caching issues (wrong response body returned on 304 Not Modified. The solution is to add Variant hash to the Model hash.

RDF/POST writer

Now the core contains a streaming Jena-compatible RDFPostReader, but the writer implementation is missing. It would effectively make RDF/POST another Jena-supported RDF serialization, with media type application/rdf+x-www-form-urlencoded and file extension .rpo.

Create g:uri() XSLT function

Create a generic function returning URIs for all types of nodes: attributes (subjects/objects) and elements (predicates).
Mostly to avoid code like this: concat(namespace-uri(.), local-name(.))

Origin subclasses unnecessary

Origin subclasses SPARQLEndpointOrigin and GraphStoreOrigin differ only in configuration properties (sd:endpoint and g:graphStore). If it would be possible to indicate the property in providers (something like @Context(SD.endpoint) Origin origin), then the subclasses could be removed and Origin reused both for SPARQL endpoints and Graph Stores.

Test suite

Create JUnit tests starting with core classes such as DataManager.
Full test coverage is the ultimate goal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.