Skip to content

Commit ede5576

Browse files
committed
Rename all files, directories, and artifacts
1 parent 6280c61 commit ede5576

File tree

255 files changed

+1634
-1629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

255 files changed

+1634
-1629
lines changed

.gitignore

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ target/
3232
# Don't apply the above to src/ where Java requires
3333
# subdirectories named according to package names.
3434
# We do not want to forbid things like "dumpfiles" in
35-
# package names.
35+
# package names.
3636
!src/
3737

3838
# Use as directory for local testing code
@@ -49,9 +49,9 @@ Thumbs.db
4949

5050
# Output of tests and examples
5151
*.log
52-
vlog4j-core/src/test/data/output/*
53-
vlog4j-examples/src/main/data/output/*
54-
vlog4j-examples/src/main/data/logs/*
55-
vlog4j-rdf/src/main/data/output/*
52+
rulewerk-core/src/test/data/output/*
53+
rulewerk-examples/src/main/data/output/*
54+
rulewerk-examples/src/main/data/logs/*
55+
rulewerk-rdf/src/main/data/output/*
5656
/build-vlog/vlog/
5757
/TAGS

LICENSE.txt

+201-201
Large diffs are not rendered by default.

README.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
VLog4j
1+
Rulewerk
22
======
3-
[![Build Status](https://travis-ci.org/knowsys/vlog4j.png?branch=master)](https://travis-ci.org/knowsys/vlog4j)
4-
[![Coverage Status](https://coveralls.io/repos/github/knowsys/vlog4j/badge.svg?branch=master)](https://coveralls.io/github/knowsys/vlog4j?branch=master)
5-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.semanticweb.vlog4j/vlog4j-parent/badge.svg)](http://search.maven.org/#search|ga|1|g%3A%22org.semanticweb.vlog4j%22)
3+
[![Build Status](https://travis-ci.org/knowsys/rulewerk.png?branch=master)](https://travis-ci.org/knowsys/rulewerk)
4+
[![Coverage Status](https://coveralls.io/repos/github/knowsys/rulewerk/badge.svg?branch=master)](https://coveralls.io/github/knowsys/rulewerk?branch=master)
5+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.semanticweb.rulewerk/rulewerk-parent/badge.svg)](http://search.maven.org/#search|ga|1|g%3A%22org.semanticweb.rulewerk%22)
66

77
A Java library based on the [VLog rule engine](https://github.com/karmaresearch/vlog)
88

99
Installation
1010
------------
1111

12-
The current release of VLog4j is version 0.5.0. The easiest way of using the library is with Maven. Maven users must add the following dependency to the dependencies in their pom.xml file:
12+
The current release of Rulewerk is version 0.5.0. The easiest way of using the library is with Maven. Maven users must add the following dependency to the dependencies in their pom.xml file:
1313

1414
```
1515
<dependency>
16-
<groupId>org.semanticweb.vlog4j</groupId>
17-
<artifactId>vlog4j-core</artifactId>
16+
<groupId>org.semanticweb.rulewerk</groupId>
17+
<artifactId>rulewerk-core</artifactId>
1818
<version>0.5.0</version>
1919
</dependency>
2020
```
2121

2222
You need to use Java 1.8 or above. Available modules include:
2323

24-
* **vlog4j-core**: essential data models for rules and facts, and essential reasoner functionality
25-
* **vlog4j-parser**: support for processing knowledge bases in [VLog4j syntax](https://github.com/knowsys/vlog4j/wiki/Rule-syntax-grammar)
26-
* **vlog4j-graal**: support for converting rules, facts and queries from [Graal](http://graphik-team.github.io/graal/) API objects and [DLGP](http://graphik-team.github.io/graal/doc/dlgp) files
27-
* **vlog4j-rdf**: support for reading from RDF files in Java (not required for loading RDF directly during reasoning)
28-
* **vlog4j-owlapi**: support for converting rules from OWL ontology, loaded with the OWL API
29-
* **vlog4j-client**: stand-alone application that builds a [command-line client](https://github.com/knowsys/vlog4j/wiki/Standalone-client) for VLog4j.
24+
* **rulewerk-core**: essential data models for rules and facts, and essential reasoner functionality
25+
* **rulewerk-parser**: support for processing knowledge bases in [Rulewerk syntax](https://github.com/knowsys/rulewerk/wiki/Rule-syntax-grammar)
26+
* **rulewerk-graal**: support for converting rules, facts and queries from [Graal](http://graphik-team.github.io/graal/) API objects and [DLGP](http://graphik-team.github.io/graal/doc/dlgp) files
27+
* **rulewerk-rdf**: support for reading from RDF files in Java (not required for loading RDF directly during reasoning)
28+
* **rulewerk-owlapi**: support for converting rules from OWL ontology, loaded with the OWL API
29+
* **rulewerk-client**: stand-alone application that builds a [command-line client](https://github.com/knowsys/rulewerk/wiki/Standalone-client) for Rulewerk.
3030

31-
The released packages use vlog4j-base, which packages system-dependent binaries for Linux, macOS, and Windows, and should work out of the box with current versions of these systems (for linux, you will need at least libstdc++-v3.4.22; for macOS, you will need at least macOS 10.14). In case of problems, or if you are using the current development version, own binaries can be compiled as follows:
31+
The released packages use rulewerk-base, which packages system-dependent binaries for Linux, macOS, and Windows, and should work out of the box with current versions of these systems (for linux, you will need at least libstdc++-v3.4.22; for macOS, you will need at least macOS 10.14). In case of problems, or if you are using the current development version, own binaries can be compiled as follows:
3232

33-
* Run [build-vlog-library.sh](https://github.com/knowsys/vlog4j/blob/master/build-vlog-library.sh) or execute the commands in this file manually. This will compile a local jar file on your system, copy it to ```./vlog4j-core/lib/jvlog-local.jar```, and install the new jar locally in Maven in place of the distributed version of vlog4j-base.
33+
* Run [build-vlog-library.sh](https://github.com/knowsys/rulewerk/blob/master/build-vlog-library.sh) or execute the commands in this file manually. This will compile a local jar file on your system, copy it to ```./rulewerk-core/lib/jvlog-local.jar```, and install the new jar locally in Maven in place of the distributed version of rulewerk-base.
3434
* Run ```mvn install``` to test if the setup works
3535

3636

3737

3838
Documentation
3939
-------------
4040

41-
* The module **vlog4j-examples** includes short example programs that demonstrate various features and use cases
42-
* The GitHub project **[VLog4j Example](https://github.com/knowsys/vlog4j-example)** shows how to use VLog4j in own Maven projects and can be used as a skeleton for own projects
43-
* [JavaDoc](https://knowsys.github.io/vlog4j/) is available online and through the Maven packages.
44-
* A VLog4j [Wiki](https://github.com/knowsys/vlog4j/wiki) is available online, with detailed information about vlog4j usage, the supported rule language [examples](https://github.com/knowsys/vlog4j/wiki/Rule-syntax-by-examples) and [grammar](https://github.com/knowsys/vlog4j/wiki/Rule-syntax-grammar), and related publications.
41+
* The module **rulewerk-examples** includes short example programs that demonstrate various features and use cases
42+
* The GitHub project **[Rulewerk Example](https://github.com/knowsys/rulewerk-example)** shows how to use Rulewerk in own Maven projects and can be used as a skeleton for own projects
43+
* [JavaDoc](https://knowsys.github.io/rulewerk/) is available online and through the Maven packages.
44+
* A Rulewerk [Wiki](https://github.com/knowsys/rulewerk/wiki) is available online, with detailed information about rulewerk usage, the supported rule language [examples](https://github.com/knowsys/rulewerk/wiki/Rule-syntax-by-examples) and [grammar](https://github.com/knowsys/rulewerk/wiki/Rule-syntax-grammar), and related publications.
4545

4646
Development
4747
-----------
4848

4949
* Pull requests are welcome.
5050
* The master branch may require a development version of VLog.
5151
Use the script `build-vlog-library.sh` to create and install it on your machine (you may need to delete previous local builds first).
52-
* Users of Eclipse should install the javacc plugin to generate the parser sources. After installing the plugin, right-click on the file `JavaCCParser.jj` in `org.semanticweb.vlog4j.parser.javacc`, and select "compile with javacc". This step needs to be repeated when the file changes.
52+
* Users of Eclipse should install the javacc plugin to generate the parser sources. After installing the plugin, right-click on the file `JavaCCParser.jj` in `org.semanticweb.rulewerk.parser.javacc`, and select "compile with javacc". This step needs to be repeated when the file changes.
5353
* We largely follow [Java Programming Style Guidelines published by Petroware](https://petroware.no/javastyle.html). The main exception are the names of private members, which do not usually end in underscores in our code.

RELEASE-NOTES.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
VLog4j Release Notes
1+
Rulewerk Release Notes
22
====================
33

4-
VLog4j v0.6.0
4+
Rulewerk v0.6.0
55
-------------
66

77
Breaking changes:
8+
* VLog4j is now called Rulewerk.
89
* In the example package, `ExamplesUtils.getQueryAnswerCount(queryString, reasoner)` does no
910
longer exist. It can be replaced by
1011
`reasoner.countQueryAnswers(RuleParser.parsePositiveLiteral(queryString)).getCount()`

build-vlog-library.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Script to build unreleased snapshots of karmaresearch/vlog into vlog4j-base jar on Unix-like systems
2+
# Script to build unreleased snapshots of karmaresearch/vlog into rulewerk-base jar on Unix-like systems
33

44
if [ -f "./local_builds/jvlog.jar" ]
55
then
@@ -21,6 +21,6 @@ else
2121
cd ../../..
2222
fi
2323

24-
mkdir local_builds/jvlog.jar vlog4j-core/lib
25-
cp local_builds/jvlog.jar vlog4j-core/lib/jvlog-local.jar
24+
mkdir local_builds/jvlog.jar rulewerk-core/lib
25+
cp local_builds/jvlog.jar rulewerk-core/lib/jvlog-local.jar
2626
mvn initialize -Pdevelopment

coverage/pom.xml

+14-14
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<parent>
7-
<groupId>org.semanticweb.vlog4j</groupId>
8-
<artifactId>vlog4j-parent</artifactId>
7+
<groupId>org.semanticweb.rulewerk</groupId>
8+
<artifactId>rulewerk-parent</artifactId>
99
<version>0.6.0-SNAPSHOT</version>
1010
</parent>
1111

@@ -14,33 +14,33 @@
1414
<name>coverage</name>
1515
<dependencies>
1616
<dependency>
17-
<groupId>org.semanticweb.vlog4j</groupId>
18-
<artifactId>vlog4j-core</artifactId>
17+
<groupId>org.semanticweb.rulewerk</groupId>
18+
<artifactId>rulewerk-core</artifactId>
1919
<version>0.6.0-SNAPSHOT</version>
2020
</dependency>
2121
<dependency>
22-
<groupId>org.semanticweb.vlog4j</groupId>
23-
<artifactId>vlog4j-rdf</artifactId>
22+
<groupId>org.semanticweb.rulewerk</groupId>
23+
<artifactId>rulewerk-rdf</artifactId>
2424
<version>0.6.0-SNAPSHOT</version>
2525
</dependency>
2626
<dependency>
27-
<groupId>org.semanticweb.vlog4j</groupId>
28-
<artifactId>vlog4j-owlapi</artifactId>
27+
<groupId>org.semanticweb.rulewerk</groupId>
28+
<artifactId>rulewerk-owlapi</artifactId>
2929
<version>0.6.0-SNAPSHOT</version>
3030
</dependency>
3131
<dependency>
32-
<groupId>org.semanticweb.vlog4j</groupId>
33-
<artifactId>vlog4j-graal</artifactId>
32+
<groupId>org.semanticweb.rulewerk</groupId>
33+
<artifactId>rulewerk-graal</artifactId>
3434
<version>0.6.0-SNAPSHOT</version>
3535
</dependency>
3636
<dependency>
37-
<groupId>org.semanticweb.vlog4j</groupId>
38-
<artifactId>vlog4j-parser</artifactId>
37+
<groupId>org.semanticweb.rulewerk</groupId>
38+
<artifactId>rulewerk-parser</artifactId>
3939
<version>0.6.0-SNAPSHOT</version>
4040
</dependency>
4141
<dependency>
42-
<groupId>org.semanticweb.vlog4j</groupId>
43-
<artifactId>vlog4j-client</artifactId>
42+
<groupId>org.semanticweb.rulewerk</groupId>
43+
<artifactId>rulewerk-client</artifactId>
4444
<version>0.6.0-SNAPSHOT</version>
4545
</dependency>
4646
</dependencies>

pom.xml

+29-24
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@
55

66
<modelVersion>4.0.0</modelVersion>
77

8-
<groupId>org.semanticweb.vlog4j</groupId>
9-
<artifactId>vlog4j-parent</artifactId>
8+
<groupId>org.semanticweb.rulewerk</groupId>
9+
<artifactId>rulewerk-parent</artifactId>
1010
<version>0.6.0-SNAPSHOT</version>
1111
<packaging>pom</packaging>
1212

13-
<name>VLog4j</name>
13+
<name>Rulewerk</name>
1414
<description>A Java library for working with the VLog rule engine</description>
15-
<url>https://github.com/knowsys/vlog4j</url>
15+
<url>https://github.com/knowsys/rulewerk</url>
1616

1717
<modules>
18-
<!-- when adding a module, make sure to also add it as a dependency in
18+
<!-- when adding a module, make sure to also add it as a dependency in
1919
the coverage module, otherwise it will not be included in the coverage report -->
20-
<module>vlog4j-core</module>
21-
<module>vlog4j-rdf</module>
22-
<module>vlog4j-examples</module>
23-
<module>vlog4j-owlapi</module>
24-
<module>vlog4j-graal</module>
25-
<module>vlog4j-parser</module>
26-
<module>vlog4j-client</module>
20+
<module>rulewerk-core</module>
21+
<module>rulewerk-rdf</module>
22+
<module>rulewerk-examples</module>
23+
<module>rulewerk-owlapi</module>
24+
<module>rulewerk-graal</module>
25+
<module>rulewerk-parser</module>
26+
<module>rulewerk-client</module>
2727
<module>coverage</module>
2828
</modules>
2929

@@ -38,7 +38,7 @@
3838

3939

4040
<organization>
41-
<name>VLog4j Developers</name>
41+
<name>Rulewerk Developers</name>
4242
</organization>
4343

4444
<developers>
@@ -57,6 +57,11 @@
5757
<name>David Carral</name>
5858
<email>[email protected]</email>
5959
</developer>
60+
<developer>
61+
<id>maximilian</id>
62+
<name>Maximilian Marx</name>
63+
<email>[email protected]</email>
64+
</developer>
6065
</developers>
6166

6267
<properties>
@@ -144,7 +149,7 @@
144149
</executions>
145150
</plugin>
146151
<plugin>
147-
<!-- This plugin's configuration is used to store Eclipse m2e settings
152+
<!-- This plugin's configuration is used to store Eclipse m2e settings
148153
only. It has no influence on the Maven build. -->
149154
<groupId>org.eclipse.m2e</groupId>
150155
<artifactId>lifecycle-mapping</artifactId>
@@ -220,7 +225,7 @@
220225
<artifactId>license-maven-plugin</artifactId>
221226
</plugin>
222227
<plugin>
223-
<!-- Used to set JRE version; will be used by IDEs like Eclipse as the
228+
<!-- Used to set JRE version; will be used by IDEs like Eclipse as the
224229
target JRE (default is 1.5) -->
225230
<groupId>org.apache.maven.plugins</groupId>
226231
<artifactId>maven-compiler-plugin</artifactId>
@@ -280,16 +285,16 @@
280285
</goals>
281286
<phase>test</phase>
282287
<configuration>
283-
<!-- use a non-standard output directory so the coveralls plugin will
284-
not try to aggregate this into the final coverage report, since we want to
288+
<!-- use a non-standard output directory so the coveralls plugin will
289+
not try to aggregate this into the final coverage report, since we want to
285290
control aggregation ourselves. -->
286291
<outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
287292
</configuration>
288293
</execution>
289294
</executions>
290295
<configuration>
291296
<excludes>
292-
<!-- Do not consider generated source code. Plugin fails for these
297+
<!-- Do not consider generated source code. Plugin fails for these
293298
files. -->
294299
<exclude>**/javacc/JavaCCParser.class</exclude>
295300
<exclude>**/javacc/JavaCCParserConstants.class</exclude>
@@ -303,14 +308,14 @@
303308
</configuration>
304309
</plugin>
305310
<plugin>
306-
<!-- Plugin for creating Javadocs; goal for preparing docs for upload
311+
<!-- Plugin for creating Javadocs; goal for preparing docs for upload
307312
to github: javadoc:aggregate -->
308313
<groupId>org.apache.maven.plugins</groupId>
309314
<artifactId>maven-javadoc-plugin</artifactId>
310315
<version>${maven.javadoc.version}</version>
311316
<configuration>
312317
<source>1.8</source>
313-
<bottom><![CDATA[Copyright &#169; {inceptionYear}&#x2018;{currentYear} {organizationName}. Generated from source code published under the Apache License 2.0. For more information, see the <a href="https://github.com/knowsys/vlog4j">VLog4j homepage</a>]]></bottom>
318+
<bottom><![CDATA[Copyright &#169; {inceptionYear}&#x2018;{currentYear} {organizationName}. Generated from source code published under the Apache License 2.0. For more information, see the <a href="https://github.com/knowsys/rulewerk">Rulewerk homepage</a>]]></bottom>
314319
</configuration>
315320
</plugin>
316321
<plugin>
@@ -323,7 +328,7 @@
323328
<checkinComment>Publishing javadoc for
324329
${project.artifactId}:${project.version}</checkinComment>
325330
<content>${project.reporting.outputDirectory}/apidocs</content>
326-
<pubScmUrl>scm:git:https://github.com/knowsys/vlog4j.git</pubScmUrl>
331+
<pubScmUrl>scm:git:https://github.com/knowsys/rulewerk.git</pubScmUrl>
327332
<scmBranch>gh-pages</scmBranch>
328333
</configuration>
329334
</plugin>
@@ -411,9 +416,9 @@
411416
</profiles>
412417

413418
<scm>
414-
<url>https://github.com/knowsys/vlog4j.git</url>
415-
<connection>scm:git:https://github.com/knowsys/vlog4j.git</connection>
416-
<developerConnection>scm:git:https://github.com/knowsys/vlog4j.git</developerConnection>
419+
<url>https://github.com/knowsys/rulewerk.git</url>
420+
<connection>scm:git:https://github.com/knowsys/rulewerk.git</connection>
421+
<developerConnection>scm:git:https://github.com/knowsys/rulewerk.git</developerConnection>
417422
</scm>
418423

419424
</project>
File renamed without changes.

vlog4j-client/pom.xml rulewerk-client/pom.xml

+10-10
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
66
<modelVersion>4.0.0</modelVersion>
77
<parent>
8-
<groupId>org.semanticweb.vlog4j</groupId>
9-
<artifactId>vlog4j-parent</artifactId>
8+
<groupId>org.semanticweb.rulewerk</groupId>
9+
<artifactId>rulewerk-parent</artifactId>
1010
<version>0.6.0-SNAPSHOT</version>
1111
</parent>
1212

13-
<artifactId>vlog4j-client</artifactId>
13+
<artifactId>rulewerk-client</artifactId>
1414
<packaging>jar</packaging>
1515

16-
<name>VLog4j Client</name>
17-
<description>Stand-alone VLog4j application</description>
16+
<name>Rulewerk Client</name>
17+
<description>Stand-alone Rulewerk application</description>
1818

1919
<properties>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -23,15 +23,15 @@
2323
<dependencies>
2424
<dependency>
2525
<groupId>${project.groupId}</groupId>
26-
<artifactId>vlog4j-core</artifactId>
26+
<artifactId>rulewerk-core</artifactId>
2727
<version>${project.version}</version>
2828
</dependency>
2929
<dependency>
3030
<groupId>${project.groupId}</groupId>
31-
<artifactId>vlog4j-parser</artifactId>
31+
<artifactId>rulewerk-parser</artifactId>
3232
<version>${project.version}</version>
3333
</dependency>
34-
<dependency>
34+
<dependency>
3535
<groupId>org.slf4j</groupId>
3636
<artifactId>slf4j-log4j12</artifactId>
3737
<version>${slf4j.version}</version>
@@ -63,11 +63,11 @@
6363
<goal>shade</goal>
6464
</goals>
6565
<configuration>
66-
<finalName>standalone-vlog4j-client-${project.version}</finalName>
66+
<finalName>standalone-rulewerk-client-${project.version}</finalName>
6767
<transformers>
6868
<transformer
6969
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
70-
<mainClass>org.semanticweb.vlog4j.client.picocli.VLog4jClient</mainClass>
70+
<mainClass>org.semanticweb.rulewerk.client.picocli.RulewerkClient</mainClass>
7171
</transformer>
7272
<transformer
7373
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />

0 commit comments

Comments
 (0)