17 Sep 2008 15:13
Re: [foaf-dev] rdfs:Literal
Hi Luigi, I guess you are using default Individual Editor for foaf:Person class. Although foaf:first_name is defined as owl:DatatypeProperty, Protege prepares a 'resource' input widget for this property because of its rdfs:Literal range restriction (could be a bug, or could be a feature). You can change the input widget for any property. Try this way: 1) Select 'Forms' tab 2) Select foaf:Person class from 'Form Browser' pane on the left 3) Click the 'View Form Customization' icon, which is the leftmost one of four small icons residing just above the 'Forms' area 4) Change the widget type to 'SingleLiteralWidget' for all datatype properties then you'll find input fields for those datatype properties accept literal value. Hope this will help. cheers, -- -- <at> prefix : <http://www.kanzaki.com/ns/sig#> . <> :from [:name "KANZAKI Masahide"; :nick "masaka"; :email "mkanzaki@..."].
RSS Feed