Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
GezimSejdiu committed Jun 14, 2017
2 parents a599672 + 414ded1 commit 386a790
Show file tree
Hide file tree
Showing 25 changed files with 47,739 additions and 110 deletions.
58 changes: 35 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.sansa-stack</groupId>
<artifactId>sansa-examples-parent</artifactId>
<version>2016-12</version>
<artifactId>sansa-examples-parent_2.11</artifactId>
<version>2017-06</version>
<packaging>pom</packaging>
<name>SANSA-Examples - Parent</name>
<description>SANSA examples</description>
Expand All @@ -14,7 +14,7 @@
<url>http://sda.tech/</url>
</organization>

<inceptionYear>2016</inceptionYear>
<inceptionYear>2017</inceptionYear>

<url>http://sansa-stack.net/</url>

Expand Down Expand Up @@ -58,9 +58,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scala.version>2.11.8</scala.version>
<scala.binary.version>2.11</scala.binary.version>
<spark.version>2.0.0</spark.version>
<flink.version>1.1.3</flink.version>
<jena.version>3.1.0</jena.version>
<spark.version>2.1.1</spark.version>
<flink.version>1.3.0</flink.version>
<jena.version>3.1.1</jena.version>
<sansa.version>0.2.0</sansa.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -130,8 +131,14 @@
<!-- Logging -->
<dependency>
<groupId>com.typesafe.scala-logging</groupId>
<artifactId>scala-logging-slf4j_${scala.binary.version}</artifactId>
<version>2.1.2</version>
<artifactId>scala-logging_${scala.binary.version}</artifactId>
<version>3.5.0</version>
</dependency>
<!-- Scopt -->
<dependency>
<groupId>com.github.scopt</groupId>
<artifactId>scopt_${scala.binary.version}</artifactId>
<version>3.5.0</version>
</dependency>

<!-- Guava -->
Expand All @@ -144,57 +151,62 @@
<!-- RDF Layer -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-rdf-spark-bundle</artifactId>
<version>0.1.0</version>
<artifactId>sansa-rdf-spark-bundle_${scala.binary.version}</artifactId>
<version>${sansa.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-rdf-flink</artifactId>
<version>0.1.0</version>
<artifactId>sansa-rdf-flink_${scala.binary.version}</artifactId>
<version>${sansa.version}</version>
</dependency>
<!-- OWL Layer -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-owl-spark</artifactId>
<version>0.1.0</version>
<artifactId>sansa-owl-spark_${scala.binary.version}</artifactId>
<version>${sansa.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-owl-flink</artifactId>
<version>0.1.0</version>
<artifactId>sansa-owl-flink_${scala.binary.version}</artifactId>
<version>${sansa.version}</version>
</dependency>

<!-- Query Layer -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-query-spark-bundle</artifactId>
<version>0.1.0</version>
<artifactId>sansa-query-spark-bundle_${scala.binary.version}</artifactId>
<version>${sansa.version}</version>
</dependency>


<!-- Inference Layer -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-inference-parent_${scala.binary.version}</artifactId>
<version>0.1.0</version>
<version>${sansa.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-inference-spark_${scala.binary.version}</artifactId>
<version>0.1.0</version>
<version>${sansa.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-inference-flink_${scala.binary.version}</artifactId>
<version>0.1.0</version>
<version>${sansa.version}</version>
</dependency>

<!-- ML Layer -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-ml-spark</artifactId>
<version>0.1.0</version>
<artifactId>sansa-ml-spark_${scala.binary.version}</artifactId>
<version>${sansa.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-ml-flink_${scala.binary.version}</artifactId>
<version>${sansa.version}</version>
</dependency>

</dependencies>
Expand Down
31 changes: 22 additions & 9 deletions sansa-examples-flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,40 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>sansa-examples-parent</artifactId>
<artifactId>sansa-examples-parent_2.11</artifactId>
<groupId>net.sansa-stack</groupId>
<version>2016-12</version>
<version>2017-06</version>
</parent>
<artifactId>sansa-examples-flink</artifactId>
<artifactId>sansa-examples-flink_2.11</artifactId>
<name>SANSA Examples - Apache Flink</name>
<description>SANSA examples for Apache Flink</description>

<dependencies>
<!-- SANSA RDF -->

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-rdf-flink_${scala.binary.version}</artifactId>
</dependency>

<!-- SANSA OWL -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-owl-flink</artifactId>
<version>0.1.0-SNAPSHOT</version>
<artifactId>sansa-owl-flink_${scala.binary.version}</artifactId>
</dependency>

<!-- SANSA Inference -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-inference-flink_${scala.binary.version}</artifactId>
</dependency>

<!-- SANSA Query -->

<!-- SANSA ML -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sansa-ml-flink_${scala.binary.version}</artifactId>
</dependency>

<!-- Scala -->
<dependency>
Expand All @@ -55,7 +62,13 @@
<!-- Logging -->
<dependency>
<groupId>com.typesafe.scala-logging</groupId>
<artifactId>scala-logging-slf4j_${scala.binary.version}</artifactId>
<artifactId>scala-logging_${scala.binary.version}</artifactId>
</dependency>

<!-- Scopt -->
<dependency>
<groupId>com.github.scopt</groupId>
<artifactId>scopt_${scala.binary.version}</artifactId>
</dependency>

<!-- Test -->
Expand Down
13 changes: 13 additions & 0 deletions sansa-examples-flink/src/main/resources/Clustering_sampledata.nt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<http://twitter/user0> <http://twitter/follows> <http://twitter/user1> .
<http://twitter/user0> <http://twitter/follows> <http://twitter/user2> .
<http://twitter/user0> <http://twitter/follows> <http://twitter/user3> .
<http://twitter/user1> <http://twitter/follows> <http://twitter/user2> .
<http://twitter/user1> <http://twitter/follows> <http://twitter/user3> .
<http://twitter/user1> <http://twitter/follows> <http://twitter/user6> .
<http://twitter/user2> <http://twitter/follows> <http://twitter/user3> .
<http://twitter/user3> <http://twitter/follows> <http://twitter/user4> .
<http://twitter/user4> <http://twitter/follows> <http://twitter/user5> .
<http://twitter/user5> <http://twitter/follows> <http://twitter/user6> .
<http://twitter/user4> <http://twitter/follows> <http://twitter/user7> .
<http://twitter/user5> <http://twitter/follows> <http://twitter/user7> .
<http://twitter/user6> <http://twitter/follows> <http://twitter/user7> .
Loading

0 comments on commit 386a790

Please sign in to comment.