Hello Mr. Hasan,
I've forked the project from Github a few days ago. I'm using IntelliJ as
IDE. When i tried to add maven dependency, it added the dependency but
couldn't recognize any classes so I had to add the jar manually as an
external library. Do you think it's some kind of IDE issue or i am doing
sth wrong? I'm guessing there's a restructuring in the project.(The *commons,
rdf *packages are no longer exist). So i changed the code and imports as
following :
import org.apache.clerezza.BlankNode;import
org.apache.clerezza.Graph;import org.apache.clerezza.IRI;import
org.apache.clerezza.Triple;import
org.apache.clerezza.implementation.literal.PlainLiteralImpl;import
org.apache.clerezza.implementation.TripleImpl;import
org.apache.clerezza.implementation.in_memory.SimpleGraph;
import java.util.Iterator;
public class Example01 {
public static void main( String[] args ) {
BlankNode subject = new BlankNode();
IRI isA = new IRI( "http://clerezza.apache.org/2017/01/example#isA" );
IRI clerezzaUser = new IRI(
"http://clerezza.apache.org/2017/01/example#ClerezzaUser" );
IRI hasFirstName = new IRI(
"http://clerezza.apache.org/2017/01/example#hasFirstName" );
PlainLiteralImpl firstName = new PlainLiteralImpl( "Hasan" );
TripleImpl subjectType = new TripleImpl( subject, isA, clerezzaUser );
TripleImpl subjectFirstName = new TripleImpl( subject,
hasFirstName, firstName );
Graph myGraph = new SimpleGraph();
myGraph.add( subjectType );
myGraph.add( subjectFirstName );
Iterator<Triple> iterator = myGraph.filter( null, null, null );
Triple triple;
while ( iterator.hasNext() ) {
triple = iterator.next();
System.out.println( triple.getSubject().toString() );
System.out.println( triple.getPredicate().toString() );
System.out.println( triple.getObject().toString() );
}
}
}
*and i got the result as:*
org.apache.clerezza.BlankNode@35f983a6
<http://clerezza.apache.org/2017/01/example#hasFirstName>
"Hasan"
org.apache.clerezza.BlankNode@35f983a6
<http://clerezza.apache.org/2017/01/example#isA>
<http://clerezza.apache.org/2017/01/example#ClerezzaUser>
Regards!
On Mon, May 24, 2021 at 10:20 AM Hasan Hasan <[email protected]> wrote:
> Hi Yusuf
>
> Have you taken a look at the Clerezza codebase?
> If not, please create a fork of the master branch from
>
> https://github.com/apache/clerezza
>
> Try to build the modules using the reactor pom.xml
> If there is no problem to build, have a look at this tutorial page:
> http://clerezza.apache.org/getting-started/tutorial/tutorial-01/
>
> The tutorial is outdated. Please follow the tutorial and fix the tutorial.
>
> Let me know if you have any questions or problems.
> If you could fix the tutorial, please send us the result in this mailing
> list.
> Many thanks.
>
> Happy coding
>
> Hasan
>
>
> On Sat, May 22, 2021 at 2:48 PM Yusuf Karadağ <[email protected]>
> wrote:
>
> > Dear Mr. Kamaci,
> > Thank you for informing me.
> > Regards!
> >
> > Yusuf Karadag
> >
> > On Sat, May 22, 2021, 14:04 Furkan KAMACI <[email protected]>
> wrote:
> >
> > > Hi Yusuf,
> > >
> > > Yes, you will report what you've done every week, and we will
> communicate
> > > about your progress at least once a week.
> > >
> > > Kind Regards,
> > > Furkan KAMACI
> > >
> > > On Thu, May 20, 2021 at 11:04 PM Hasan <[email protected]> wrote:
> > >
> > > > Hi Yusuf
> > > >
> > > > Perhaps Furkan would like to have one weekly.
> > > > I might join every now and then, but basically, I think it is a good
> > > idea.
> > > >
> > > > Regards
> > > > Hasan
> > > >
> > > > On Wed, May 19, 2021 at 9:51 AM Yusuf Karadağ <
> > > [email protected]>
> > > > wrote:
> > > >
> > > > > Hello and thank you! I have one question tho. Will there be
> > > daily/weekly
> > > > > stand-ups during coding period?
> > > > >
> > > > > On Wed, May 19, 2021 at 7:10 AM Hasan <[email protected]> wrote:
> > > > >
> > > > > > Welcome on board Yusuf!
> > > > > >
> > > > > > I will help where I can. Don't hesitate to ask.
> > > > > >
> > > > > > Hasan
> > > > > >
> > > > > > On Tue, May 18, 2021 at 10:15 PM Yusuf Karadağ <
> > > > > [email protected]
> > > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Thank you very much!
> > > > > > >
> > > > > > > Yusuf Karadag
> > > > > > >
> > > > > > > On Tue, May 18, 2021, 19:35 Reto Gmür <[email protected]>
> > > wrote:
> > > > > > >
> > > > > > > > Welcome Yusuf!
> > > > > > > >
> > > > > > > > On 17.05.21 20:45, Furkan KAMACI wrote:
> > > > > > > > > Hi Yusuf,
> > > > > > > > >
> > > > > > > > > Congratulations on your acceptance of Google Summer of Code
> > > 2021
> > > > > for
> > > > > > > > Apache
> > > > > > > > > Clerezza.
> > > > > > > > >
> > > > > > > > > May 17, 2021 - June 7, 2021, is the community bonding
> period.
> > > You
> > > > > can
> > > > > > > try
> > > > > > > > > to familiarize yourself with Apache Clerezza during this
> > > period.
> > > > > > Clone
> > > > > > > > the
> > > > > > > > > codebase, try to pick some issues from Jira to fix or
> create
> > > new
> > > > > > tasks.
> > > > > > > > >
> > > > > > > > > You will start your project on June 7, 2021. Until then,
> try
> > to
> > > > be
> > > > > > > ready
> > > > > > > > > for the next period.
> > > > > > > > >
> > > > > > > > > That will be my five years as a mentor for GSoC. All of
> them
> > > have
> > > > > > > > > successfully finished their tasks. If there is only one
> > > takeaway
> > > > > from
> > > > > > > > that
> > > > > > > > > success story, it is not breaking the communication. Try to
> > be
> > > > > active
> > > > > > > on
> > > > > > > > > the mailing list and want help when you need it.
> > > > > > > > >
> > > > > > > > > I and Hasan will be your mentors. Hasan has a deep
> knowledge
> > of
> > > > > > Apache
> > > > > > > > > Clerezza.
> > > > > > > > >
> > > > > > > > > Feel free to ask if you have any questions.
> > > > > > > > >
> > > > > > > > > PS: Do not forget to subscribe to the mail list if you
> > haven't.
> > > > > > > > >
> > > > > > > > > Kind Regards,
> > > > > > > > > Furkan KAMACI
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Yusuf
> > > > >
> > > >
> > >
> >
>
--
Yusuf