RE: Java Language Ontology and .java to RDF parser?

Hi Aldo,

For Java language Ontology, i would suggest to have a look at [1]. As you also have identified the limitations of Simile RDFizer and to overcome this, i used qdox lib [2] for parsing Java code. I am sure qdox is best suited for what ya need by parsing a java code file. I have also write a code using qdox lib which parse a java file and generates RDF out of it. Have a look at the code available at [3]:

For any further questions/comments, dont hesitate to contact me.

[1] http://www.ifi.uzh.ch/ddis/evoont/2008/11/som/som.owl
[2] http://qdox.codehaus.org/
[3] https://ict-romulus.svn.sourceforge.net/svnroot/ict-romulus/trunk/LD2SD/LD2SD_RDFizers/src/org/deri/ld2sd/rdfizers/Java2RDF.java


regards
Aftab Iqbal

-----Original Message-----
From: Aldo Bucchi [mailto:aldo.bucchi@gmail.com]
Sent: Sun 26/06/2011 09:22
To: Hausenblas, Michael
Cc: Linked Data community; Iqbal, Aftab
Subject: Re: Java Language Ontology and .java to RDF parser?
 
Hi Michael,

Thanks for the reference!
I will email Aftab off-list ;)

Regards,
A

On Sun, Jun 26, 2011 at 4:08 AM, Michael Hausenblas
<michael.hausenblas@deri.org> wrote:
>
> Aldo,
>
>> Does anyone know of a Java language ontology? ( with a JavaClass,
>> JavaMethod, JavaField, etc classes, for example. ).
>> And a parser for such an ontology? ( that takes .java sources as input ).
>
> Yes, see [1]. Ping Aftab (one of my PhD students, in CC) if you need more
> details ...
>
> Cheers,
>        Michael
>
> [1] Aftab Iqbal, Oana Ureche, Michael Hausenblas, Giovanni Tummarello.
>    LD2SD: Linked Data Driven Software Development, 21st International
> Conference on Software Engineering and Knowledge Engineering, 2009.
>    http://sw-app.org/pub/seke09-ld2sd.pdf
>
> --
> Dr. Michael Hausenblas, Research Fellow
> LiDRC - Linked Data Research Centre
> DERI - Digital Enterprise Research Institute
> NUIG - National University of Ireland, Galway
> Ireland, Europe
> Tel. +353 91 495730
> http://linkeddata.deri.ie/
> http://sw-app.org/about.html
>
> On 26 Jun 2011, at 08:28, Aldo Bucchi wrote:
>
>> Hi,
>>
>> Does anyone know of a Java language ontology? ( with a JavaClass,
>> JavaMethod, JavaField, etc classes, for example. ).
>> And a parser for such an ontology? ( that takes .java sources as input ).
>>
>> I need to analyze some Java codebases and it would be really useful to
>> create an in memory graph of the language constructs, particularly in
>> RDF, so I could use some of the amazing tools that we all know and
>> love ;)
>>
>> Thanks!
>> A
>>
>> --
>> Aldo Bucchi
>> @aldonline
>> skype:aldo.bucchi
>> http://facebook.com/aldo.bucchi ( <-- add me * )
>> http://aldobucchi.com/
>> * I prefer Facebook as a networking
>> and communications tool.
>>
>
>



-- 
Aldo Bucchi
@aldonline
skype:aldo.bucchi
http://facebook.com/aldo.bucchi ( <-- add me * )
http://aldobucchi.com/
* I prefer Facebook as a networking
and communications tool.

Received on Sunday, 26 June 2011 12:37:36 UTC