@@ -59,7 +59,7 @@ git clone https://github.com/SANSA-Stack/SANSA-Inference.git
5959cd SANSA-Inference
6060mvn clean install
6161```
62- Afterwards, you have to add the dependency to your pom.xml
62+ Afterwards, you have to add the dependency to your ` pom.xml `
6363
6464For Apache Spark
6565``` xml
@@ -81,78 +81,46 @@ with `VERSION` beeing the released version you want to use.
8181
8282### Using Maven pre-build artifacts
8383
84- 1 . Add AKSW Maven repository to your pom.xml (will be added to Maven Central soon)
85- ``` xml
86- <repository >
87- <id >maven.aksw.snapshots</id >
88- <name >University Leipzig, AKSW Maven2 Repository</name >
89- <url >http://maven.aksw.org/archiva/repository/snapshots</url >
90- <releases >
91- <releases >
92- <enabled >false</enabled >
93- </releases >
94- <snapshots >
95- <enabled >true</enabled >
96- </snapshots >
97- </repository >
98-
99- <repository >
100- <id >maven.aksw.internal</id >
101- <name >University Leipzig, AKSW Maven2 Internal Repository</name >
102- <url >http://maven.aksw.org/archiva/repository/internal</url >
103- <releases >
104- <enabled >true</enabled >
105- </releases >
106- <snapshots >
107- <enabled >false</enabled >
108- </snapshots >
109- </repository >
110- ```
111- 2\. Add dependency to your pom.xml
84+ The latest release is available in Maven Central, thus, you only have to add the following dependency to your ` pom.xml ` :
11285
11386For Apache Spark
11487``` xml
11588<dependency >
11689 <groupId >net.sansa-stack</groupId >
11790 <artifactId >sansa-inference-spark_2.11</artifactId >
118- <version >VERSION </version >
91+ <version >0.4.0 </version >
11992</dependency >
12093```
12194and for Apache Flink
12295``` xml
12396<dependency >
12497 <groupId >net.sansa-stack</groupId >
12598 <artifactId >sansa-inference-flink_2.11</artifactId >
126- <version >VERSION </version >
99+ <version >0.4.0 </version >
127100</dependency >
128101```
129- with ` VERSION ` beeing the released version you want to use.
102+
130103### Using SBT
131- SANSA Inference API has not been published on Maven Central yet, thus, you have to add an additional repository as follows
132- ``` scala
133- resolvers ++= Seq (
134- " AKSW Maven Releases" at " http://maven.aksw.org/archiva/repository/internal" ,
135- " AKSW Maven Snapshots" at " http://maven.aksw.org/archiva/repository/snapshots"
136- )
137- ```
138- Then you have to add a dependency on either the Apache Spark or the Apache Flink module.
104+
105+ Add the following lines to your SBT file:
139106
140107For Apache Spark add
141108``` scala
142- " net.sansa-stack" % " sansa-inference-spark_2.11" % VERSION
109+ libraryDependencies += " net.sansa-stack" % " sansa-inference-spark_2.11" % " 0.4.0 "
143110```
144111
145112and for Apache Flink add
146113``` scala
147- " net.sansa-stack" % " sansa-inference-flink_2.11" % VERSION
114+ libraryDependencies += " net.sansa-stack" % " sansa-inference-flink_2.11" % " 0.4.0 "
148115```
116+ ### Using Snapshots
149117
150- where ` VERSION ` is the released version you want to use .
118+ Snapshot version are only avalibale via our custom Maven repository located at http://maven.aksw.org/archiva/repository/snapshots .
151119
152120## Usage
153121Besides using the Inference API in your application code, we also provide a command line interface with various options that allow for a convenient way to use the core reasoning algorithms:
154122```
155- RDFGraphMaterializer 0.2 .0
123+ RDFGraphMaterializer 0.4 .0
156124Usage: RDFGraphMaterializer [options]
157125
158126 -i, --input <path1>,<path2>,...
0 commit comments