Re: Can I assume that blank node is not replaceable by a IRI?

On 12/23/2017 11:09 AM, Victor Porton wrote:
> I want to have a structure like this (in Turtle):
> 
> http://we.example.org rdfs:seeAlso
>    (<http://x1.example.org> <http://x2.example.org>) .
> 
> But sometimes I want my seeAlso to be conditional, so I could specify
> that some of the seeAlso resources are used only in "transformation"
> mode or only in "validation" mode, like this:
> 
> http://we.example.org rdfs:seeAlso (
>    [ :iri <http://x1.example.org> ; :transformation: false ]
>    [ :iri <http://x2.example.org> ; :validation: false ]
> ) .
> 
> However in this case I use a blank node instead of a IRI.

That's fine to do.  rdfs:seeAlso has no formal semantics anyway, so it 
is fine to use it that way if you wish.

However, one other thing I will mention in case you were not aware of 
it.  You have written an ordered list when you write this:

 > http://we.example.org rdfs:seeAlso
 >    (<http://x1.example.org> <http://x2.example.org>) .

If the ordering between x1 and x2 does not matter, then you might 
consider writing this instead:

 > http://we.example.org rdfs:seeAlso <http://x1.example.org> ,
 >                                    <http://x2.example.org> .

which is short-hand for these two assertions (in no particular order):

 > http://we.example.org rdfs:seeAlso <http://x1.example.org> .
 > http://we.example.org rdfs:seeAlso <http://x2.example.org> .

David Booth

Received on Saturday, 23 December 2017 16:47:43 UTC