Re: Quick owl restriction question

3 views
Skip to first unread message

Alan Ruttenberg

unread,
Mar 25, 2008, 10:46:56 PM3/25/08
to Bill Bug, obi...@groups.google.com
Here's an example that works:

(with-ontology foo ()
    ((datatype-property !has_feature_value (range !xsd:int) )
     (class !feature :partial)
     (class !log_base :partial !feature)
     (equivalent-classes (intersection-of !log_base (union-of (restriction !has_feature_value (has-value 1))
      (restriction !has_feature_value (has-value 0))))
 !owl:Nothing)
  (individual !test (type !log_base) (value !has_feature_value 0)))
  (check foo t))

"Individual http://example.com/#test is forced to belong to class http://example.com/#log_base and its complement" 

OWL attached.

invalid-log-base.owl
Reply all
Reply to author
Forward
0 new messages