On 20/09/2004, at 1:28 PM, David Menendez wrote: > Matt Halstead writes: > >> But you've used the semantics of OWL to do this, I was wondering if >> there is a way to do this using simply the semantics of RDF/RDF-s > > Ah. I misunderstood your question. > > Using only RDFS, you might do this: > > bibterm:year rdfs:domain _:a. > dc:title rdfs:domain _:b. > bibterm:book rdfs:range [ rdfs:subClassof _:a, _:b ]. > > This states that anything in the range of bibterm:book is also in the > domain of bibterm:year and dc:title. But that only means that the > resources in the range of bibterm:book *could* have titles and years, > not that they *must*. > > More generally, statements in RDFS say what can be inferred from data, > not whether the data is valid. If I say this: > > bibterm:book rdfs:domain bibterm:Book. > > _:a bibterm:book _:b. > > Then an RDFS reasoner will infer that _:b is a bibterm:Book. Sure. I guess there is no way to define a class in RDFS based on properties. cheers Matt > -- > David Menendez <zednenem@psualum.com> <http://www.eyrie.org/~zednenem/>Received on Monday, 20 September 2004 02:34:23 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:20:22 GMT