[
Lists Home |
Date Index |
Thread Index
]
Didier PH Martin wrote:
> Why not having the properties declared inside a class element? Something
> like:
> <owl:Class rdf:ID="ConsumableThing">
> <owl:ObjectProperty rdf:ID="madeFromFruit">
> <rdfs:range rdf:resource="#Fruit" />
> </owl:ObjectProperty>
> .... other property definition ....
> </owl:class>
>
Remember that any OWL statement is also a valid RDF statement.
Therefore you can serialize it any way you like that conforms with the
RDF serialization Rec. You are not limited to the form of those examples.
By the same token, harkening back to your earlier question about using
xslt to transform OWL to HTML, it is infernally hard in the general case
because of all the allowable variations in RDF serialization.
>... So why use a so bandwidth inefficient language as
> XML? After all, a main advantage to XML is that it could be read by human
> beings and therefore readability is an important factor doesn't it? Yes I
> know, for some, human beings are peripherals to systems :-) and that
> includes developers as well :-)
>
Well, you can always use N3, if you want a compact and more readable syntax.
Cheers,
Tom P
|