Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] SWRL: Remove Whitespace

Martin O'Connor martin.oconnor at stanford.edu
Fri Jan 8 08:10:52 PST 2010


The SWRL parser did not correctly handle empty strings. I have fixed this bug.

The fix will be in the next release - or you can check out the latest code from the Subversion repository and build it:

http://protege.cim3.net/cgi-bin/wiki.pl?SWRLTab#nidB46

Martin

----- Original Message -----
From: "mopatr" <moserpatrick at hotmail.com>
To: protege-owl at lists.stanford.edu
Sent: Friday, January 8, 2010 2:29:46 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: [protege-owl]  SWRL: Remove Whitespace


Hi

Is there a workaround to remove whitespaces from a literal? I tried to use
swrlb:replace(?mt:l, ?mt:z, " ", ""), but it is expected to close the
string. Replacing the whitespace with nothing, meaning just leave away the
fourth argument doesn't work neither, because all four arguments requiered.

Does anyone has an idea?

Patrick
-- 
View this message in context: http://n4.nabble.com/SWRL-Remove-Whitespace-tp1009713p1009713.html
Sent from the Protege OWL mailing list archive at Nabble.com.
_______________________________________________
protege-owl mailing list
protege-owl at lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03



More information about the protege-owl mailing list