Re: RDF lists/arrays and n-ary relations [was Re: OWL and RDF lists]

Hi Martynas,

Le Sat, Oct 01, 2022 at 02:57:01PM +0200, Martynas Jusevičius a écrit :
> > What would you think of something like this ?
> >
> >   :me :positionInPlan9 (2, -3)^:complexPosition
> >   :marty :driveTo ("1985-10-26", "09:00", "EST")^:timeDateTZ
> 
> :me :positionInPlan9 [ a :complexPosition; :first 2, :second -3 ].
> :marty :driveTo [ :date "1985-10-26", :time "09:00", :tz "EST" ] .
> 
> Same thing, and no need for new standards.

Please let me try to better understand what entails from your answer.

(1) Is there a reason you put "a :complexPosition" in the first case, but
not "a :TZDateTime" in the second case ?

(2) Is one of these two options better according to you and why ?

  :me :positionInPlan9 [ :realPart 2, :imaginaryPart -3 ]
  :me :positionInPlan9 [ a :complexPosition, :realPart 2, :imaginaryPart -3 ]

(3) Using this blank node notation, is there a way to "add to the blank
node" or is it "closed" ?

When I have

  :whiteKing :boardPosition [ :rank 1, :file "e" ]

is there a triple or a set of triples that I could add to my graph
such that once serialized in turtle it would read

  :whiteKing :boardPosition [ :rank 1, :file "e", :magicalAttribute true ]

?

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  

Received on Saturday, 1 October 2022 16:57:11 UTC