Semargl: RDF4J Integration

Semargl is a modular framework for crawling linked data from structured documents. The main goal of project is to provide lightweight and performant tool without excess dependencies.

License

License

GroupId

GroupId

org.semarglproject
ArtifactId

ArtifactId

semargl-rdf4j
Last Version

Last Version

0.7
Release Date

Release Date

Type

Type

jar
Description

Description

Semargl: RDF4J Integration
Semargl is a modular framework for crawling linked data from structured documents. The main goal of project is to provide lightweight and performant tool without excess dependencies.
Project URL

Project URL

http://semarglproject.org/semargl-rdf4j

Download semargl-rdf4j

How to add to project

<!-- https://jarcasting.com/artifacts/org.semarglproject/semargl-rdf4j/ -->
<dependency>
    <groupId>org.semarglproject</groupId>
    <artifactId>semargl-rdf4j</artifactId>
    <version>0.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.semarglproject/semargl-rdf4j/
implementation 'org.semarglproject:semargl-rdf4j:0.7'
// https://jarcasting.com/artifacts/org.semarglproject/semargl-rdf4j/
implementation ("org.semarglproject:semargl-rdf4j:0.7")
'org.semarglproject:semargl-rdf4j:jar:0.7'
<dependency org="org.semarglproject" name="semargl-rdf4j" rev="0.7">
  <artifact name="semargl-rdf4j" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.semarglproject', module='semargl-rdf4j', version='0.7')
)
libraryDependencies += "org.semarglproject" % "semargl-rdf4j" % "0.7"
[org.semarglproject/semargl-rdf4j "0.7"]

Dependencies

compile (3)

Group / Artifact Type Version
org.semarglproject : semargl-core jar 0.7
org.semarglproject : semargl-rdfa jar 0.7
org.eclipse.rdf4j : rdf4j-rio-api jar 2.1.3

test (9)

Group / Artifact Type Version
org.testng : testng jar 6.8.8
org.eclipse.rdf4j : rdf4j-rio-compliance jar 2.1.3
org.openrdf.sesame : sesame-rio-compliance jar 2.8.11
commons-io : commons-io jar 2.4
org.slf4j : slf4j-log4j12 jar 1.6.4
org.semarglproject : semargl-core test-jar 0.7
org.semarglproject : semargl-rdf jar 0.7
org.semarglproject : semargl-rdf test-jar 0.7
org.semarglproject : semargl-rdfa test-jar 0.7

Project Modules

There are no modules declared in this project.

Welcome to the home of Semargl!

Semargl is a modular framework for crawling linked data from structured documents. The main goal of the project is to provide lightweight and performant tool without excess dependencies.

At this moment Semargl offers high-performant streaming parsers for RDF/XML, RDFa, N-Triples, JSON-LD, streaming serializers for Turtle, NTriples, NQuads and integration with Jena, Clerezza and Sesame.

Small memory footprint, and CPU requirements allow framework to be embedded in any system. It runs seamlessly on Android and GAE.

You can check some framework capabilities via RDFa parser demo.

Maven Central Build Status Coverage Status

Why use Semargl?

Lightweight

Semargl’s code is small and simple to understand. It has no external dependencies and it will never read a mail. Internally it operates with a raw strings and creates as few objects as possible, so your Android or GAE applications will be happy.

Standard conformant

All parsers and serializers fully support corresponding W3C specifications and test suites.

Dead Simple

No jokes!

<dependency>
    <groupId>org.semarglproject</groupId>
    <artifactId>semargl-rdfa</artifactId>
    <version>0.7</version>
</dependency>
// just init triple store you want
MGraph graph = ... // Clerezza calls
// create processing pipe
StreamProcessor sp = new StreamProcessor(NTriplesParser.connect(ClerezzaSink.connect(graph));
// and run it
sp.process(file, docUri);

If you want to use Semargl as a standalone framework, you can find useful internal serializers and easily extendable API.

Build

To build framework just run mvn clean install. RDFa tests require direct Internet connection.

org.semarglproject

Semargl

Versions

Version
0.7