W3C home > Mailing lists > Public > public-lod@w3.org > July 2011

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

From: David Wood <david@3roundstones.com>
Date: Fri, 1 Jul 2011 11:45:10 -0400
Cc: Linked Data community <public-lod@w3.org>
Message-Id: <546767AE-0D24-4BB2-8BC1-BE7E673726E8@3roundstones.com>
To: Aldo Bucchi <aldo.bucchi@gmail.com>
There is also an OWL-DL ontology of software engineering concepts:

Source: http://itee.uq.edu.au/~dwood/ontologies/sec.owl
OWL-Doc: http://itee.uq.edu.au/~dwood/ontologies/owldoc/sec/index.html

An example of use:
Source: http://itee.uq.edu.au/~dwood/ontologies/sec-example.owl
OWL-Doc: http://itee.uq.edu.au/~dwood/ontologies/owldoc/sec-example/index.html

Regards,
Dave




On Jun 26, 2011, at 05:50, Iqbal, Aftab wrote:

> 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 Friday, 1 July 2011 15:45:45 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:34 UTC