Re: bang ! in turtle

On 01/03/11 16:41, Nathan wrote:
> actually ^ may be better.. such that
>
> :a :b :c .
>
> could be written as:
>
> :c ^:b :a .
>
> meaning
>
> :c [ owl:inverseOf :b ] :a .

meaning there is a there is bnode in the predicate position.

>
> meaning:
>
> :a :b :c .
>

SPARQL has:

:c ^:b :a .

meaning

:a :b :c

reverses subject and object. The matching process really does swap 
subject and object.

http://www.w3.org/TR/sparql11-query/#propertypaths

	Andy

(without opinion on whether to add it to Turtle)

> cheers
>
> Nathan wrote:
>> Hi All,
>>
>> Is there any chance we can include ! in turtle to prefix predicates
>> and inverse the directionality, such that
>>
>> :a :b :c .
>>
>> could be written as
>>
>> :c !:b :a .
>>
>> (as opposed to :c is :b of :a)
>>
>> Cheers,
>>
>> Nathan
>>
>
>

Received on Tuesday, 1 March 2011 17:17:04 UTC