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

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

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Fri, 01 Jul 2011 20:12:28 +0100
Message-ID: <4E0E1C1C.4080706@openlinksw.com>
To: public-lod@w3.org
On 7/1/11 4:45 PM, David Wood wrote:
> 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

Dave,

Nice!

BTW - if you add some rdfs:isDefinedBy relations to the ontology we then 
navigate the TBox in FYN fashion.

Links:

1. 
http://linkeddata.uriburner.com/describe/?url=http%3A%2F%2Fwww.itee.uq.edu.au%2F~dwood%2Fontologies%2Fsec.owl%23OOMethod 
-- what we have now posting importing your ontology and sample data .


Kingsley
>
>
>
> 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.
>>
>>
>>
>>
>
>


-- 

Regards,

Kingsley Idehen	
President&  CEO
OpenLink Software
Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen
Received on Friday, 1 July 2011 19:12:53 UTC

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