Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rdf4j-dev] [GSOC 2017] #743 -Add support for Shapes Constraint Language (SHACL)

Strange.

I tried to push to your branch, but it says I don't have permission :(

Anyway.

Here are the dependencies you need:

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>rdf4j-sail-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>rdf4j-repository-sail</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>rdf4j-sail-memory</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

Do a "mvn clean install -DskipTests" after you add that to your pom file.

Håvard

On Sun, Apr 30, 2017 at 11:36 AM, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:
Hi Håvard,

I did it previously and there no any compile errors in my code.I get class file not found errors in run time.



I get following errors when I run main method.



Thank you!
regards,
Heshan

On Sun, Apr 30, 2017 at 1:26 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
If you press "alt+enter" while the cursor is on a problem in intellij then it will give you some options for fixing it:

Inline image 1

Try that and see if you can't get the code to compile.

We can have a meeting on Tuesday I think, so that you have a few days to test your code and see that it works.

Håvard

On Sun, Apr 30, 2017 at 8:43 AM, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:
Hi Håvard,

I commit and pushed all my changes up to now.It gives following error in the maven install.Can you please help me to fixed this issue.I think this is a maven dependency error.I try to fixed in different ways but i couldn't able to find correct way.It is a blocker for me to get a woking sail.


[INFO] RDF4J: Assembly .................................... SUCCESS [  1.543 s]
[INFO] RDF4J: SHACL ....................................... FAILURE [  0.667 s]
[INFO] RDF4J Model API compliance test suite .............. SKIPPED
[INFO] RDF4J Query Result IO compliance test suite ........ SKIPPED
[INFO] RDF4J Rio compliance test suite .................... SKIPPED
[INFO] RDF4J SeRQL test suite ............................. SKIPPED
[INFO] RDF4J SPARQL compliance test suite ................. SKIPPED
[INFO] RDF4J GeoSPARQL compliance test suite .............. SKIPPED
[INFO] RDF4J SAIL and Repository API compliance test suite  SKIPPED
[INFO] RDF4J compliance tests ............................. SKIPPED
[INFO] RDF4J Model compliance test ........................ SKIPPED
[INFO] RDF4J Query Result IO compliance tests ............. SKIPPED
[INFO] RDF4J Rio compliance tests ......................... SKIPPED
[INFO] RDF4J HTTP server compliance tests ................. SKIPPED
[INFO] RDF4J SAIL and Repository compliance test .......... SKIPPED
[INFO] RDF4J SeRQL query parser compliance tests .......... SKIPPED
[INFO] RDF4J SPARQL query parser compliance tests ......... SKIPPED
[INFO] RDF4J GeoSPARQL compliance tests ................... SKIPPED
[INFO] RDF4J BOM .......................................... SKIPPED
[INFO] RDF4J: benchmarks .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:36 min
[INFO] Finished at: 2017-04-30T11:29:29+05:30
[INFO] Final Memory: 110M/758M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "Sonar" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile (default-compile) on project rdf4j-shacl: Compilation failure: Compilation failure:
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[3,41] error: package org.eclipse.rdf4j.common.iteration does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[5,30] error: package org.eclipse.rdf4j.model does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[6,30] error: package org.eclipse.rdf4j.model does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[7,30] error: package org.eclipse.rdf4j.model does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[8,41] error: package org.eclipse.rdf4j.model.vocabulary does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[9,35] error: package org.eclipse.rdf4j.repository does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[10,40] error: package org.eclipse.rdf4j.repository.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[11,40] error: package org.eclipse.rdf4j.repository.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[12,29] error: package org.eclipse.rdf4j.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[13,29] error: package org.eclipse.rdf4j.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[14,29] error: package org.eclipse.rdf4j.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[15,37] error: package org.eclipse.rdf4j.sail.helpers does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[25,31] error: cannot find symbol
[ERROR] symbol: class NotifyingSailWrapper
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[4,30] error: package org.eclipse.rdf4j.model does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[5,30] error: package org.eclipse.rdf4j.model does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[6,40] error: package org.eclipse.rdf4j.repository.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[30,28] error: cannot find symbol
[ERROR] symbol:   class Sail
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[35,11] error: cannot find symbol
[ERROR] symbol:   class NotifyingSailConnection
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[35,58] error: cannot find symbol
[ERROR] symbol:   class SailException
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[39,30] error: cannot find symbol
[ERROR] symbol:   class SailRepository
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[12,4] error: cannot find symbol
[ERROR] symbol:   class Resource
[ERROR] location: class Shape
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[13,4] error: cannot find symbol
[ERROR] symbol:   class SailRepositoryConnection
[ERROR] location: class Shape
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[14,4] error: cannot find symbol
[ERROR] symbol:   class Resource
[ERROR] location: class Shape
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[17,17] error: cannot find symbol
[ERROR] symbol:   class Resource
[ERROR] location: class Shape
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[17,30] error: cannot find symbol
[ERROR] symbol:   class SailRepositoryConnection
[ERROR] location: class Shape
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[3,30] error: package org.eclipse.rdf4j.model does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[4,40] error: package org.eclipse.rdf4j.repository.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[5,40] error: package org.eclipse.rdf4j.repository.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[6,28] error: package org.eclipse.rdf4j.rio does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[7,36] error: package org.eclipse.rdf4j.sail.memory does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[4,24] error: cannot find symbol
[ERROR] symbol:   class IsolationLevel
[ERROR] location: package org.eclipse.rdf4j
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[5,30] error: package org.eclipse.rdf4j.model does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[6,29] error: package org.eclipse.rdf4j.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[7,29] error: package org.eclipse.rdf4j.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[8,29] error: package org.eclipse.rdf4j.sail does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[9,37] error: package org.eclipse.rdf4j.sail.helpers does not exist
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[17,37] error: cannot find symbol
[ERROR] symbol: class NotifyingSailConnectionWrapper
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[17,79] error: cannot find symbol
[ERROR] symbol: class SailConnectionListener
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[20,9] error: cannot find symbol
[ERROR] symbol:   class Statement
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[29,27] error: cannot find symbol
[ERROR] symbol:   class NotifyingSailConnection
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[39,22] error: cannot find symbol
[ERROR] symbol:   class IsolationLevel
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[39,51] error: cannot find symbol
[ERROR] symbol:   class SailException
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[44,31] error: cannot find symbol
[ERROR] symbol:   class Statement
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[49,33] error: cannot find symbol
[ERROR] symbol:   class Statement
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[54,32] error: cannot find symbol
[ERROR] symbol:   class SailException
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[29,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[31,8] error: cannot find symbol
[ERROR] symbol:   variable super
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[34,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[40,12] error: cannot find symbol
[ERROR] symbol:   class SailRepositoryConnection
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[41,12] error: cannot find symbol
[ERROR] symbol:   class ValueFactory
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[42,12] error: cannot find symbol
[ERROR] symbol:   class RepositoryResult
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[42,29] error: cannot find symbol
[ERROR] symbol:   class Statement
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[42,83] error: cannot find symbol
[ERROR] symbol:   variable RDF
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[43,17] error: cannot find symbol
[ERROR] symbol:   class Resource
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[43,37] error: cannot find symbol
[ERROR] symbol:   variable Iterations
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[43,70] error: cannot find symbol
[ERROR] symbol:   variable Statement
[ERROR] location: class SHACLSail
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLSail.java:[45,28] error: incompatible types: invalid method reference
[ERROR] reference to println is ambiguous
[ERROR] both method println(char[]) in PrintStream and method println(String) in PrintStream match
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[18,8] error: cannot find symbol
[ERROR] symbol:   class ValueFactory
[ERROR] location: class Shape
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/shape/Shape.java:[20,27] error: cannot find symbol
[ERROR] symbol:   class Resource
[ERROR] location: class Shape
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[24,8] error: cannot find symbol
[ERROR] symbol:   class SailRepository
[ERROR] location: class main
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[24,40] error: cannot find symbol
[ERROR] symbol:   class SailRepository
[ERROR] location: class main
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[24,59] error: cannot find symbol
[ERROR] symbol:   class MemoryStore
[ERROR] location: class main
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[27,8] error: cannot find symbol
[ERROR] symbol:   class ValueFactory
[ERROR] location: class main
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[29,13] error: cannot find symbol
[ERROR] symbol:   class SailRepositoryConnection
[ERROR] location: class main
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[31,65] error: cannot find symbol
[ERROR] symbol:   variable RDFFormat
[ERROR] location: class main
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/main.java:[55,18] error: method begin in class SHACLConnection cannot be applied to given types;
[ERROR] required: IsolationLevel
[ERROR] found: no arguments
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[20,51] error: cannot find symbol
[ERROR] symbol:   class Statement
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[38,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[40,8] error: cannot find symbol
[ERROR] symbol:   variable super
[ERROR] location: class SHACLConnection
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[43,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[48,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[53,4] error: method does not override or implement a method from a supertype
[ERROR] /Users/heshanjayasinghe/Documents/rdf4j/Add_SHACL/rdf4j/core/shacl/src/main/java/org/eclipse/rdf4j/validation/SHACLConnection.java:[55,8] error: cannot find symbol
[ERROR] symbol:   variable super
[ERROR] location: class SHACLConnection


On Sat, Apr 29, 2017 at 3:07 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
Have you committed and pushed all your changes to your github branch?

On Sat, Apr 29, 2017 at 6:59 AM, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:
Hi Håvard,
I didn't do all, Can you please explain which things i should complete before this call.if i didn't do those things i think i can do those things today and tomorrow.
Thank you!
regards,
Heshan

On Fri, Apr 28, 2017 at 11:45 AM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
I think I can do Sunday. 

Have you managed to get a working sail that prints all changes?

Håvard

On 28 Apr 2017, at 04:50, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:

Hi Håvard,

Can I have a small meeting on upcoming Sunday(30th of april) or Monday(1st of may).I want know next steps I should complete and some clarifications in current development.

Thank You!
regards,
Heshan

On Tue, Apr 25, 2017 at 3:42 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
When looking at the commits in github (https://github.com/heshanjse/rdf4j/commits/feature/%23743-add-support-for-SHACL) you can press the little button with "..." to see if it's been signed off:

<Screen Shot 2017-04-25 at 12.11.01.png>



Inline image 2



On Mon, Apr 24, 2017 at 2:47 AM, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:
Hi Håvard,
I found solution for that issue.We should define root folder in ItelliJ to take that functionality.I did it like this, right click on shacl folder --> Mark Directly As ---> sources root.now I can create new java class and do other java functionalities.Perviously I created in another folder and drag and drop those classes in to my actual location.That is the reason I got wrong package locations in those classes.

I forgot to sign-off two of my commits,I remove those commits and do it again.can you please tell me how you check my commits are not sign-off?

last week I blocked with that java issue i think now i can continue my work.

Thank You!
regards,
Heshan

On Thu, Apr 20, 2017 at 8:11 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
Looks like you declared the wrong package in the top of some of your files.

Håvard

On Thu, Apr 20, 2017 at 4:35 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
I'll take a look.

Btw, you need to sign-off on your commits.

Håvard


On Wed, Apr 19, 2017 at 1:53 PM, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:
Hi Håvard,
I am working on  feature/#743-add-support-for-SHACL branch.I extend some classes to SHACLSail class and SHACLConnection class.Now it gives following error messages.

package org.eclipse.rdf4j.sail does not exist
package org.eclipse.rdf4j.sail.helpers does not exist
method does not override or implement a method from a supertype

I import those classes manually,it don't suggest by the IDE.Do I need to add any dependencies to pom.xml to fixed this issue? 

Thank You!
regards,
Heshan




On Tue, Apr 18, 2017 at 9:26 AM, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:
Thank you! :) 


On Mon, Apr 17, 2017 at 3:17 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
Found it :P

Looks like you have shacl twice in the Pom file. 


On 16 Apr 2017, at 16:37, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:

Hi Håvard,

I go though RDF4J SAIL documentations and there implementations methods.After that I create my basic folders and classes as my first step.You can see my first steps in the following picture.

I have a small problem in this place.perviously implemented SailConnection classes(core/spain/src/main/java/org.eclipse.rdf4j/sail/spain) treated as  java classes but newly created Shape classes and SHACL classes are not treated as java classes by IDE. It don't give any suggestions,do not give any override methods.i manually import other classes to my new classes but still it do not support as java classes.I think my newly created packages not working as java packages.
<Screen Shot 2017-04-16 at 7.34.21 PM.png>

in this Github also it shows in different way.

<Screen Shot 2017-04-16 at 8.01.00 PM.png>

my pom.xml look like this 

<Screen Shot 2017-04-16 at 8.03.48 PM.png>
do you know any solution to this problem? 

Thank you!
regards,
Heshan



On Mon, Apr 10, 2017 at 7:47 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
Let's start with Wednesday at 5pm Oslo time. 

Håvard

On 10 Apr 2017, at 11:19, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:

Hi Håvard,

Shall we take our first panning call on this Tuesday(11th of Apr) or Wednesday(12th of Apr) at 5 pm Oslo time? Then I have time to research on those areas in our new year season.If other RDF4J developers like to join with us,Hope we can do another discussion on 19th, 20th or 21st.

I have exams in the mid of May so I plan to finish some areas before the exam season because I need few days to do my studies.I like to speed up the current process and finish some tasks. 

Please let me know your preferred day and time.i'll join the hangouts call on that time

Thank you!
regards,
Heshan


On Sun, Apr 9, 2017 at 5:56 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
I'll be available Monday to Wednesday this coming week. From 5 pm Oslo time. After that it's easter break in Norway, so the next time I can meet you will be on Wednesday. 

You said you also had some holidays in Sri Lanka, so I propose we try for a meeting on the 19th, 20th or 21st after 5pm. One of those days I might end up being busy in the evening due to it being the final week for a member of our project team and we're going out for a dinner. Not sure which day it's going to be though.

*** To the RDF4J developers *** if any of you have any input as to the architecture of the SHACL module it would be great if you could write by then, or join the hangouts call (let me know and I'll give you a link). As outlined in the proposition; Heshan is trying for a DB style architecture with an AST and "query" planner with a subsequent optimisation step, all for the purpose of limiting the number of rules that need to be run and the amount of data to be fetched from the underlying store.

Håvard

On Sat, Apr 8, 2017 at 11:48 AM, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:
Hi Håvard,
Yes,when do you have free time take a skype call? 
Hope we can plan the folder structures,high level architecture of the feature and other subparts of the features.

Thank you!
regards,
Heshan

On Thu, Apr 6, 2017 at 10:39 PM, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:
Hi Heshan,

You want another video call?

Your approach looks good. Just remember that you are trying to model the AST for SHACL. This means that you have the concept of Shape and Property Constraint where shape can have multiple properties, and properties can have a maxCount or minCount etc. You'll want to think about inheritance and interfaces. But keep it simple, you can expand it later when you see the need. That'll feel better than having to remove and rewrite a bunch of code and setup you made up front because it doesn't work anymore. 

Håvard

On 6 Apr 2017, at 01:08, Heshan Jayasinghe <shanujse@xxxxxxxxx> wrote:

Hi Håvard,
I like to start this new feature from now onwards. This feature focus on performance so before going to implementation I like to have a small planing discussion.
I discuss with Jeen about folder location for this feature and he suggest me to implement on core/sail/shacl or core/shacl.I think core/shacl location is good place to do this implementation because this feature include more new modules.
following folder structure is my suggestion.I think there should more classes than this.

core
  |-shacl
  |   |-components
  |   |     |-src/main/java/org.eclipse.rdf4j.shacl.components
  |   |     |                 |-MinCount
  |   |     |                 |-MaxCount
  |   |     |                 |-Class
  |   |     |                 |-Datatype
  |   |     |                 |-Logical_Or
  |   |     |                 |-Logical_And
  |   |     |                 |-Logical_Not
  |   |     |-pom.xml
  |   | 
  |   | -shapes
  |   |     |-src/main/java/org.eclipse.rdf4j.shacl.shapes
  |   |     |                  |-TargetClass
  |   |     |                  |-Property
  |   |     |                  |-Path
  |   |     |-pom.xml
  |   | 
  |   | -sail
  |   |     |-src/main/java/org.eclipse.rdf4j.shacl.sail
  |   |     |                  |-SHACLSail
  |   |     |-pom.xml
  |   | 
  |   | -violation
  |   |     |-src/main/java/org.eclipse.rdf4j.shacl.violation
  |   |     |                  |-ShaclViolationListener
  |   |     |-pom.xml
  |   | 
  |   | -base
  |         |-src/main/java/org.eclipse.rdf4j.shacl.base
  |         |                  |-BaseShape
  |         |-pom.xml

for test-cases 

testsuites
  |-shacl
      |-src/main/java/org.eclipse.rdf4j.shacl
                           |-MinCount
                           |-MaxCount
                           |-Class
                           |-Datatype
                           |-Logical_Or
                           |-Logical_And
                           |-Logical_Not
                           |-TargetClass
                           |-Property
                           |-Path

Can you please give me suggestions for this folder structure and what else I should focus on this planning discussion?

Thank You!
regards,
Heshan



















Back to the top