Re: Exactly one element in a RDFS class

There's no simpler encoding. Nominals is the only feature in OWL 2
which lets you say that a class has a single instance. And it has a
unique serialization in RDF.

I don't think querying for this particular syntactic construct is complex.

However, writing RDF queries for OWL ontologies serialized in RDF (be
that SPARQL or other RDF graph matching language) is usually not a
great idea. You'll often have to deal with specifics of the RDF
serialization which is complex for many OWL constructs (see [1])

Cheers,
Pavel

[1] http://www.w3.org/TR/owl2-mapping-to-rdf/

On Sun, Nov 16, 2014 at 11:35 PM, Victor Porton <porton@narod.ru> wrote:
> Your solution has the same problem as Patrick Logan's one. (See my previous email.) In fact your solution is the same as Patrick Logan's one.
>
> 17.11.2014, 00:28, "Pavel Klinov" <pavel.klinov@uni-ulm.de>:
>> Sorry, my previous email got sent too soon.
>>
>> Here's the link to the right place in the OWL 2 spec:
>>
>> http://www.w3.org/TR/owl2-syntax/#Enumeration_of_Individuals
>>
>> Cheers,
>> Pavel
>>
>> On Sun, Nov 16, 2014 at 10:52 PM, Victor Porton <porton@narod.ru> wrote:
>>>  Is there any advise on how to code in RDFS or OWL the following statement?
>>>
>>>  "The class X has exactly one element."
>>>
>>>  --
>>>  Victor Porton - http://portonvictor.org
>
> --
> Victor Porton - http://portonvictor.org

Received on Sunday, 16 November 2014 23:03:37 UTC