[Pellet-users] SWRL is supported din the OWLAPI right?

Evren Sirin evren at clarkparsia.com
Wed Mar 5 19:30:08 UTC 2008


Andrew,

As Nick points out you can do this using OWLAPI easily and Pellet 
already handles the rules coming from OWLAPI. There isn't a equivalent 
convenience utility for Jena. What you can do though Jena (although it 
is not nice) is to create SWRL rules triple by triple. This is similar 
to how Pellet parses the SWRL rules through Jena interface. There is a 
class that defines the built-in vocabulary of SWRL as Jena resources [1].

Cheers,
Evren

[1] org.mindswap.pellet.jena.vocabulary.SWRL

On 3/5/08 11:39 AM, Nick Drummond wrote:
> Andrew,
>
> The OWL API does support construction of SWRL rules.
>
> Nick
>
> On 5 Mar 2008, at 14:41, Matthew Horridge wrote:
>
>   
>> Hi Nick,
>>
>> Yes, it is supported at a syntactic level.  It's possible to create  
>> and save rules, and parse ontologies containing rules.
>>
>> Cheers,
>>
>> Matthew
>>
>>
>> On 5 Mar 2008, at 13:12, Nick Drummond wrote:
>>
>>     
>>> Begin forwarded message:
>>>
>>>       
>>>> From: "Crapo, Andrew (GE, Research)" <crapo at ge.com>
>>>> Date: 5 March 2008 13:01:49 GMT
>>>> To: <pellet-users at lists.owldl.com>
>>>> Subject: [Pellet-users] SWRL Rule API?
>>>>
>>>> I'm looking for a Java API for constructing SWRL rules and saving  
>>>> them to an OWL file. I am familiar with Jena and envision  
>>>> something like that. The javadoc for the OWL-API and the Pellet  
>>>> examples don't suggest to me that support for programmatic  
>>>> construction of rules in an OntModel is supported. I've looked at  
>>>> the Protégé-Owl source and it appears that it would do what I want  
>>>> to do but the Protégé code is referenced so it would takesome work  
>>>> to extract the SWRL support in a Jena-compatible stand-alone jar.  
>>>> Am I missing a good solution?
>>>>
>>>> Andrew Crapo
>>>> GE Global Research
>>>> Information Scientist
>>>>
>>>> T 518 387 5729
>>>> F 518 387 6104
>>>> D *833 5729
>>>> E crapo at research.ge.com
>>>> www.research.ge.com
>>>>
>>>> One Research Circle
>>>> Niskayuna, NY 12309 USA
>>>> General Electric Company
>>>>
>>>> _______________________________________________
>>>> Pellet-users mailing list
>>>> Pellet-users at lists.owldl.com
>>>> http://lists.owldl.com/mailman/listinfo/pellet-users
>>>> _______________________________________________
>>>>
>>>> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>>>>         
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>   



More information about the Pellet-users mailing list