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

Commit

Permalink
Merge branch 'release/0.7.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzBuehmann committed Jan 15, 2020
2 parents 62d14e4 + af6caed commit 53b63d1
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 230 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>net.sansa-stack</groupId>
<artifactId>sansa-parent</artifactId>
<version>0.6.0</version>
<version>0.7.1</version>
</parent>

<artifactId>sansa-inference-parent_2.11</artifactId>
Expand Down
7 changes: 1 addition & 6 deletions sansa-inference-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sansa-inference-parent_2.11</artifactId>
<groupId>net.sansa-stack</groupId>
<version>0.6.0</version>
<version>0.7.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sansa-inference-common_${scala.binary.version}</artifactId>
Expand Down Expand Up @@ -79,11 +79,6 @@
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.5.0</version>
</dependency>

<!-- Scopt CLI API-->
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sansa-inference-flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ under the License.
<parent>
<groupId>net.sansa-stack</groupId>
<artifactId>sansa-inference-parent_2.11</artifactId>
<version>0.6.0</version>
<version>0.7.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sansa-inference-flink_${scala.binary.version}</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class ForwardRuleReasonerRDFS(env: ExecutionEnvironment) extends ForwardRuleReas

val additionalTripleRDDs = mutable.Seq(rdfs4, rdfs6, rdfs8_10, rdfs12)

allTriples = env.union(Seq(allTriples) ++ additionalTripleRDDs).distinct()
allTriples = env.union(Seq(allTriples) ++ additionalTripleRDDs).distinct(_.hashCode)
}

logger.info(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ import org.apache.flink.api.common.typeinfo.TypeInformation
import org.apache.flink.api.scala.{DataSet, _}
import org.apache.flink.util.Collector
import org.apache.jena.graph.{Node, Triple}
import org.apache.jena.sparql.util.NodeComparator

import net.sansa_stack.inference.flink.utils.NodeKey
import net.sansa_stack.inference.utils.Profiler
import net.sansa_stack.rdf.flink.utils.NodeKey

/**
* An engine to compute the transitive closure (TC) for a set of triples given in several datastructures.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 2 additions & 4 deletions sansa-inference-spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>net.sansa-stack</groupId>
<artifactId>sansa-inference-parent_2.11</artifactId>
<version>0.6.0</version>
<version>0.7.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sansa-inference-spark_${scala.binary.version}</artifactId>
Expand Down Expand Up @@ -136,6 +136,7 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version>
</dependency>

<!-- Graph API -->
Expand Down Expand Up @@ -170,8 +171,6 @@
<dependency>
<groupId>com.holdenkarau</groupId>
<artifactId>spark-testing-base_${scala.binary.version}</artifactId>
<!--version>${spark.version}_0.7.1</version-->
<version>2.3.0_0.9.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -323,7 +322,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<!--<version>3.0.1</version>-->
<executions>
<execution>
<id>resource-dependencies</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import java.net.URI

import net.sansa_stack.inference.data.{SQLSchema, SQLSchemaDefault}
import net.sansa_stack.inference.spark.data.model.{RDFGraph, RDFGraphDataFrame, RDFGraphDataset, RDFGraphNative}
import net.sansa_stack.inference.utils.NTriplesStringToJenaTriple
import org.apache.jena.graph.Triple
import org.apache.jena.riot.Lang
import org.apache.spark.sql.{Dataset, Encoder, SaveMode, SparkSession}
import org.apache.spark.sql.{Dataset, Encoder, SparkSession}
import org.apache.spark.{SparkConf, SparkContext}
import org.slf4j.LoggerFactory
import scala.language.implicitConversions
Expand Down Expand Up @@ -222,7 +221,7 @@ object RDFGraphLoader {
println(triples.count())
triples
.filter("p == 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'")
.write.mode(SaveMode.Append).rdf("/tmp/lubm/out")
.write.mode(org.apache.spark.sql.SaveMode.Append).rdf("/tmp/lubm/out")



Expand Down
2 changes: 1 addition & 1 deletion sansa-inference-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>sansa-inference-parent_2.11</artifactId>
<groupId>net.sansa-stack</groupId>
<version>0.6.0</version>
<version>0.7.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sansa-inference-tests_${scala.binary.version}</artifactId>
Expand Down

0 comments on commit 53b63d1

Please sign in to comment.