W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

Re: bang ! in turtle

From: Antoine Zimmermann <antoine.zimmermann@insa-lyon.fr>
Date: Tue, 01 Mar 2011 18:03:24 +0100
Message-ID: <4D6D26DC.6030408@insa-lyon.fr>
CC: RDF WG <public-rdf-wg@w3.org>
That would be a very nice feature.
I often see myself writing stuff like:

s1  rdf:type  C .
s2  rdf:type  C .
...
sN  rdf:type  C .

when I would like to write:

C is rdf:type of s1, s2, ..., sN .

I'd be happy if the syntax was

:s  is :p of  :o .

but caret is ok too (please avoid '!').



AZ.

Le 01/03/2011 17:41, Nathan a écrit :
> actually ^ may be better.. such that
>
> :a :b :c .
>
> could be written as:
>
> :c ^:b :a .
>
> meaning
>
> :c [ owl:inverseOf :b ] :a .
>
> meaning:
>
> :a :b :c .
>
> 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
>>
>
>


-- 
Antoine Zimmermann
Researcher at:
Laboratoire d'InfoRmatique en Image et Systèmes d'information
Database Group
7 Avenue Jean Capelle
69621 Villeurbanne Cedex
France
Lecturer at:
Institut National des Sciences Appliquées de Lyon
20 Avenue Albert Einstein
69621 Villeurbanne Cedex
France
antoine.zimmermann@insa-lyon.fr
http://zimmer.aprilfoolsreview.com/
Received on Tuesday, 1 March 2011 17:03:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:03 UTC