CAPF Operator for Gradoop

Provides the CAPF pattern matching operator for Gradoop.

License

License

GroupId

GroupId

org.gradoop
ArtifactId

ArtifactId

gradoop-capf
Last Version

Last Version

0.5.1
Release Date

Release Date

Type

Type

jar
Description

Description

CAPF Operator for Gradoop
Provides the CAPF pattern matching operator for Gradoop.
Project URL

Project URL

http://www.gradoop.org/gradoop-capf
Project Organization

Project Organization

University of Leipzig
Source Code Management

Source Code Management

http://github.com/dbs-leipzig/gradoop-capf.git

Download gradoop-capf

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.gradoop : gradoop-flink jar 0.5.1
org.apache.flink : flink-table_2.12 jar 1.7.0
org.opencypher » flink-cypher jar 0.4.3-SNAPSHOT
org.opencypher : morpheus-spark-cypher jar 0.4.3-SNAPSHOT

test (2)

Group / Artifact Type Version
org.gradoop : gradoop-flink test-jar 0.5.1
org.apache.flink : flink-test-utils_2.12 jar 1.7.0

Project Modules

There are no modules declared in this project.

Apache License, Version 2.0, January 2004 Maven Central Build Status

Gradoop-CAPF: Cypher for Apache Flink

This GRADOOP operator is based on a work in progress master thesis (GitHub). CAPF is based on Neo4j's Morpheus project and supports the opencypher grammar. CAPF will be released alongside every Gradoop stable release. An example on how to use this operator is provided below and within the Gradoop Wiki.

Usage

Use CAPF with Gradoop

LogicalGraph graph = source.getLogicalGraph(...)

String cypherString = "MATCH ()-->() RETURN *";

//Create CAPFQuery Object and execute cypher query
CAPFResult result = new CAPFQuery(cypherString, getExecutionEnvirontment())
.execute(graph);

GraphCollection collection = result.getGraphs();

Use CAPF dependencies

  • Add the following dependency to your gradoop project.
<dependency>
    <groupId>org.gradoop</groupId>
    <artifactId>gradoop-capf</artifactId>
    <version>0.5.1</version>
</dependency>
  • Executed on a cluster the following lib's has to be included (maven-shade-plugin)
<include>org.gradoop:gradoop-capf</include>
<include>org.opencypher:*</include>
<include>org.apache.flink:flink-table_2.12</include>
<include>org.parboiled:parboiled-scala_2.12</include>
<include>com.lihaoyi:ujson_2.12</include>
<include>com.lihaoyi:upack_2.12</include>
<include>com.lihaoyi:upickle_2.12</include>
<include>com.lihaoyi:upickle-core_2.12</include>
<include>com.lihaoyi:upickle-implicits_2.12</include>
<include>org.typelevel:cats-kernel_2.12</include>
<include>org.typelevel:cats-core_2.12</include>
<include>org.atnos:eff_2.12</include>
<include>org.parboiled:*</include>

Build requirements

  • gradoop-capf requries Java 8
  • CAPF requires scala 2.12
org.gradoop

University of Leipzig - Database Research Group

Graph related research projects

Versions

Version
0.5.1