Hi Yusuf, Yes, we are waiting for you.
Kind Regards, Furkan KAMACI On Tue, Jun 1, 2021 at 9:16 AM Yusuf Karadağ <[email protected]> wrote: > Hello! > Is the meeting now or in the evening? > Regards! > > Yusuf Karadag > > On Mon, May 31, 2021, 11:01 Furkan KAMACI <[email protected]> wrote: > > > Hi, > > > > Since we have one week until the beginning of the coding period, it would > > be nice to wrap up the things at the meeting. > > > > Hasan, could you share the meeting link? > > > > Kind Regards, > > Furkan KAMACI > > > > On Mon, May 31, 2021 at 10:36 AM Yusuf Karadağ < > [email protected] > > > > > wrote: > > > > > I don't know whether you meant am or pm but I'm ok with both time. > > > Regards! > > > > > > Yusuf Karadag > > > > > > On Mon, May 31, 2021, 09:35 Yusuf Karadağ <[email protected]> > > > wrote: > > > > > > > Hello, > > > > Tomorrow(Tuesday) 8 am would be ok for me. > > > > Regards! > > > > > > > > Yusuf Karadag > > > > > > > > On Mon, May 31, 2021, 07:09 Hasan Hasan <[email protected]> > wrote: > > > > > > > >> Hi Yusuf > > > >> > > > >> We can have a meeting on either Tue (tomorrow) 8:00 - 8:45 CEST or > Wed > > > >> 8:00 > > > >> - 8:45 CEST > > > >> Which do you prefer? > > > >> > > > >> Hasan > > > >> > > > >> > > > >> On Sat, May 29, 2021 at 10:33 PM Yusuf Karadağ < > > > >> [email protected]> > > > >> wrote: > > > >> > > > >> > Great, thank you so much. > > > >> > Regards! > > > >> > > > > >> > Yusuf Karadag > > > >> > > > > >> > On Sat, May 29, 2021, 22:19 Hasan Hasan <[email protected]> > > > wrote: > > > >> > > > > >> > > Hi Yusuf > > > >> > > > > > >> > > Yes, Reto has just released a new version of jena.parser. I hope > > we > > > >> can > > > >> > use > > > >> > > that soon. > > > >> > > I think we can schedule a meeting next week. I'll try to find > some > > > >> slots > > > >> > > next week. > > > >> > > > > > >> > > Hasan > > > >> > > > > > >> > > On Sat, May 29, 2021 at 9:56 PM Yusuf Karadağ < > > > >> > [email protected]> > > > >> > > wrote: > > > >> > > > > > >> > > > Dear Mr. Hasan, > > > >> > > > Thank you for explaining to me. I am looking at to > > > >> > > > https://github.com/clerezza/jena.parser and I see one class > > > >> > > > JenaParserProvider > > > >> > > > < > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > > > https://github.com/clerezza/jena.parser/blob/master/src/main/java/org/apache/clerezza/rdf/jena/parser/JenaParserProvider.java > > > >> > > > > > > > >> > > > which I can see implements the *ParsingProvider* in > > > *representation > > > >> > > > *module. > > > >> > > > So the first thing would be to release new versions? I just > > > >> > > > didn't understand whether something was wrong or not with the > > > >> modules > > > >> > in > > > >> > > > github.com/clerezza? From the second problemö we then should > > make > > > >> sure > > > >> > > > that > > > >> > > > the representation module and rdf.jena.parser library use the > > same > > > >> > > versıon > > > >> > > > of slf4j? Also can we arrange a short meeting this week or > next > > > week > > > >> > with > > > >> > > > the mentors to get to know each other and maybe to tell more > > about > > > >> the > > > >> > > code > > > >> > > > and structure if that's not too much trouble? Just getting a > > > little > > > >> bit > > > >> > > > confused about the old and new version/modules. > > > >> > > > Regards! > > > >> > > > > > > >> > > > On Fri, May 28, 2021 at 10:26 AM Hasan Hasan < > > > [email protected] > > > >> > > > > >> > > > wrote: > > > >> > > > > > > >> > > > > Hi Yusuf > > > >> > > > > > > > >> > > > > There are two problems in tutorial 2: > > > >> > > > > 1. It uses a library outside of the Apache Clerezza project > > > called > > > >> > > > > org.apache.clerezza:rdf.jena.parser which uses an out-dated > > > >> version > > > >> > of > > > >> > > > > Apache Clerezza. The package > > org.apache.clerezza:rdf.jena.parser > > > >> is > > > >> > > > > maintained outside of > > > >> > > > > Apache Clerezza in github.com/clerezza by reto and me. We > can > > > >> update > > > >> > > the > > > >> > > > > package org.apache.clerezza:rdf.jena.parser to use the > current > > > >> > release > > > >> > > > > version of Apache Clerezza. You could help here as well. You > > > could > > > >> > > study > > > >> > > > > the code and try to understand the relation of that package > > with > > > >> the > > > >> > > > > representation module. > > > >> > > > > The representation module is not implementing any parser, It > > > >> > delegates > > > >> > > > the > > > >> > > > > parsing functionality to any registered ParsingProvider. The > > > >> package > > > >> > > > > org.apache.clerezza:rdf.jena.parser is implementing that > > > >> > functionality. > > > >> > > > > Thus, we principally should use the representation module as > > > well > > > >> as > > > >> > > > > org.apache.clerezza:rdf.jena.parser in tutorial 2. > > > >> > > > > Let me know if you have any questions and whether you would > > like > > > >> to > > > >> > fix > > > >> > > > any > > > >> > > > > package in github.com/clerezza. > > > >> > > > > > > > >> > > > > 2. The multiple bindings problem of slf4j is due to > different > > > libs > > > >> > used > > > >> > > > by > > > >> > > > > the representation module and rdf.jena.parser library. > > > >> > > > > > > > >> > > > > Cheers > > > >> > > > > Hasan > > > >> > > > > > > > >> > > > > > > > >> > > > > On Thu, May 27, 2021 at 10:45 AM Hasan Hasan < > > > >> [email protected]> > > > >> > > > > wrote: > > > >> > > > > > > > >> > > > > > Hi Yusuf > > > >> > > > > > > > > >> > > > > > Thx for the work. I'll have a look today or tomorrow. > > > >> > > > > > > > > >> > > > > > Regarding the website, you don't yet have access to the > > > >> repository. > > > >> > > So, > > > >> > > > > > I'll update it. > > > >> > > > > > > > > >> > > > > > Regards > > > >> > > > > > Hasan > > > >> > > > > > > > > >> > > > > > On Tue, May 25, 2021 at 8:39 PM Yusuf Karadağ < > > > >> > > > > [email protected]> > > > >> > > > > > wrote: > > > >> > > > > > > > > >> > > > > >> Hello! > > > >> > > > > >> So i've tried to run tutorial with *representation > *module. > > > >> But it > > > >> > > > kept > > > >> > > > > >> giving *null. *I've kept track of it and it's giving in > > this > > > >> line > > > >> > of > > > >> > > > > >> *Parser.class: > > > >> > > > > >> * > > > >> > > > > >> > > > >> > > > > >> ParsingProvider provider = > > > >> > > > > >> > > > >> (ParsingProvider)this.providerMap.get(deParameterizedIdentifier); > > > >> > > > > >> > > > >> > > > > >> It can't get the provider and throws > > > >> > > > > >> *UnsupportedParsingFormatException.* > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> *and the output was: > > > >> > > > > >> [main] INFO org.apache.clerezza.representation.Parser - > > > >> > constructing > > > >> > > > > >> Parser > > > >> > > > > >> [main] WARN org.apache.clerezza.tutorial.Example02 - > > > >> text/turtle > > > >> > is > > > >> > > > > >> not supported by the used parser > > > >> > > > > >> > > > >> > > > > >> * > > > >> > > > > >> > > > >> > > > > >> Then I tried with the dependencies as written in Tutorial > > 2. > > > I > > > >> > moved > > > >> > > > > >> *example02.ttl *file under *resources *directory of > module > > > and > > > >> > made > > > >> > > a > > > >> > > > > >> change in the code as: > > > >> > > > > >> package org.apache.clerezza.tutorial; > > > >> > > > > >> import org.apache.clerezza.commons.rdf.Graph;import > > > >> > > > > >> org.apache.clerezza.commons.rdf.Triple;import > > > >> > > > > >> org.apache.clerezza.rdf.core.serializedform.Parser;import > > > >> > > > > >> > > > >> org.apache.clerezza.rdf.core.serializedform.SupportedFormat;import > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > > > org.apache.clerezza.rdf.core.serializedform.UnsupportedFormatException;import > > > >> > > > > >> org.slf4j.Logger;import org.slf4j.LoggerFactory; > > > >> > > > > >> import java.io.InputStream;import java.util.Iterator; > > > >> > > > > >> public class Example02 { > > > >> > > > > >> > > > >> > > > > >> private static final Logger logger = > > > >> LoggerFactory.getLogger( > > > >> > > > > >> Example02.class ); > > > >> > > > > >> > > > >> > > > > >> public static void main( String[] args ) { > > > >> > > > > >> > > > >> > > > > >> InputStream inputStream = > > > >> > > > > >> Example02.class.getClassLoader().getResourceAsStream( > > > >> > > "example02.ttl" > > > >> > > > > >> ); > > > >> > > > > >> Parser parser = Parser.getInstance(); > > > >> > > > > >> > > > >> > > > > >> try { > > > >> > > > > >> Graph graph = parser.parse( inputStream, > > > >> > > > > >> SupportedFormat.TURTLE ); > > > >> > > > > >> > > > >> > > > > >> Iterator<Triple> iterator = graph.filter( > null, > > > >> null, > > > >> > > null > > > >> > > > > ); > > > >> > > > > >> Triple triple; > > > >> > > > > >> > > > >> > > > > >> while ( iterator.hasNext() ) { > > > >> > > > > >> triple = iterator.next(); > > > >> > > > > >> logger.info( String.format( "%s %s %s", > > > >> > > > > >> triple.getSubject().toString(), > > > >> > > > > >> triple.getPredicate().toString(), > > > >> > > > > >> triple.getObject().toString() > > > >> > > > > >> ) ); > > > >> > > > > >> } > > > >> > > > > >> } catch ( UnsupportedFormatException ex ) { > > > >> > > > > >> logger.warn( String.format( "%s is not > > supported > > > by > > > >> > the > > > >> > > > > >> used parser", SupportedFormat.TURTLE ) ); > > > >> > > > > >> } > > > >> > > > > >> } > > > >> > > > > >> } > > > >> > > > > >> > > > >> > > > > >> And i got the output as: > > > >> > > > > >> > > > >> > > > > >> SLF4J: Class path contains multiple SLF4J bindings. > > > >> > > > > >> SLF4J: Found binding in > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > > > [jar:file:/C:/Users/yusufkaradag2/.m2/repository/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > > >> > > > > >> SLF4J: Found binding in > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > > > [jar:file:/C:/Users/yusufkaradag2/.m2/repository/org/slf4j/slf4j-log4j12/1.7.6/slf4j-log4j12-1.7.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > > >> > > > > >> SLF4J: See > > http://www.slf4j.org/codes.html#multiple_bindings > > > >> for > > > >> > an > > > >> > > > > >> explanation. > > > >> > > > > >> SLF4J: Actual binding is of type > > > >> > > [org.slf4j.impl.SimpleLoggerFactory] > > > >> > > > > >> [main] INFO > > > org.apache.clerezza.rdf.core.serializedform.Parser > > > >> - > > > >> > > > > >> constructing Parser > > > >> > > > > >> [main] INFO org.apache.clerezza.tutorial.Example02 - > > > >> > > > > >> > > > org.apache.clerezza.rdf.jena.commons.JenaBNodeWrapper@4e636c84 > > > >> > > > > >> <http://clerezza.apache.org/2017/01/example#hasFirstName > > > > > >> > > > > >> "Hasan"^^<http://www.w3.org/2001/XMLSchema#string> > > > >> > > > > >> [main] INFO org.apache.clerezza.tutorial.Example02 - > > > >> > > > > >> > > > org.apache.clerezza.rdf.jena.commons.JenaBNodeWrapper@4e636c84 > > > >> > > > > >> <http://clerezza.apache.org/2017/01/example#isA> > > > >> > > > > >> <http://clerezza.apache.org/2017/01/example#ClerezzaUser > > > > > >> > > > > >> > > > >> > > > > >> I hope i managed to tell what i meant. Just a bit > confused > > > why > > > >> it > > > >> > > > > >> didn't work with *representation* module. Should i try > with > > > >> > > > > >> *representation *or this is fine? > > > >> > > > > >> > > > >> > > > > >> Regards! > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> On Tue, May 25, 2021 at 2:33 PM Hasan <[email protected]> > > > >> wrote: > > > >> > > > > >> > > > >> > > > > >> > Hi Yusuf > > > >> > > > > >> > > > > >> > > > > >> > I'd be glad if you could try to fix tutorial 2 as well > > > >> > > > > >> > > > > >> > http://clerezza.apache.org/getting-started/tutorial/tutorial-02/ > > > >> > > > > >> > > > > >> > > > > >> > Best regards > > > >> > > > > >> > > > > >> > > > > >> > Hasan > > > >> > > > > >> > > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> -- > > > >> > > > > >> Yusuf > > > >> > > > > >> > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > >> > > > -- > > > >> > > > Yusuf > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > > > > > > >
