"If" and "else" in RDF

Hello group.

I was wondering why there is nothing like "if" or "else" (or
something) in RDF to express differences between things. For example
to express that, if a person is male, he should be addressed with
'Mr.' else with 'Mrs.'. Maybe something like that:

xmlns="mysite.com/myspec#"

<gender>
 <can-be value="male"/>
 <can-be value="female"/>
</gender>
<if object="gender" has-value="male" />
<then>
 <address value="Mr."/>
</then>
<else>
 <address value="Mrs."/>
</else>

I think, I've to do it like that ...
<gender>
 <can-be value="male" address="Mr."/>
 <can-be value="female" address="Mrs."/>
</gender>

So, my questions are:
1) Why is there nothing like if and else?
2) Is the second example correct? - If not: How could I express this
thing?

Thanks,
Regards,
Jan Winkler.
-----------
Jan Winkler
Berlin.

info@jan-winkler.de
http://www.jan-winkler.de

Received on Saturday, 28 April 2001 07:15:40 UTC