W3C home > Mailing lists > Public > public-rdf-star@w3.org > May 2021

Re: rdf* to xml or rdf/xml

From: Felix Sasaki <felix@sasakiatcf.com>
Date: Thu, 27 May 2021 18:15:53 +0200
Message-ID: <CAL58czosQ-2go6UXm90rdfva97r=ospx5=hOMHfkSad0QDMezg@mail.gmail.com>
To: Andy Seaborne <andy@apache.org>
Cc: public-rdf-star@w3.org
Dear all,

I am working in an industry with workflows integrating RDF and XML data.

Having RDF/XML as a syntax is not important at all, it is rather
problematic for the reasons mentioned in this thread. But having *one*
simple, standardized XML syntax for RDF star would be very useful for the
world I am living in - and many other industries, I assume.

Also, no problem if the XML syntax is repetitive and verbose: XML guys are
used to that :)

- Felix

On Wed, 26 May 2021 at 22:42, Andy Seaborne <andy@apache.org> wrote:

>
>
> On 25/05/2021 15:08, Martynas Jusevičius wrote:
> > That looks like a TriX syntax, definitely not RDF/XML.
> > https://www.w3.org/2004/03/trix/
>
>
> application/sparql-results+xml
>
>
> https://w3c.github.io/rdf-star/cg-spec/2021-04-13.html#sparql-star-query-results-xml-format
>
>      Andy
>
> Apache Jena does support "TriX-star"
>
> https://jena.apache.org/documentation/io/trix.html#trix-star
>
>
>
> >
> > On Tue, May 25, 2021 at 3:28 PM Joy lix <joylix4112@outlook.com> wrote:
> >>
> >> Hi, Olaf, Thank you for your swift response.
> >>
> >> I have noticed that in the latest Draft (Draft Community Group Report
> 21 May 2021) there are the following expressions:
> >>
> >>
> >>
> >> EXAMPLE 20
> >>
> >> Consider the following RDF term, an embedded triple in Turtle-star
> syntax:
> >>
> >> << <http://example.org/alice> <http://example.org/name> "Alice" >>
> >>
> >> This term is represented in XML as follows:
> >>
> >> <triple>
> >>
> >>      <subject>
> >>
> >>          <uri>http://example.org/alice</uri>
> >>
> >>      </subject>
> >>
> >>      <predicate>
> >>
> >>          <uri>http://example.org/name</uri>
> >>
> >>      </predicate>
> >>
> >>      <object>
> >>
> >>          <literal datatype='http://www.w3.org/2001/XMLSchema#string
> '>Alice</literal>
> >>
> >>      </object>
> >>
> >> </triple>
> >>
> >> So, for     << :John :meet :Sara >> :venue :HydePark .
> >>
> >> How can this RDF* be expressed in pure XML? Do I need to repeat the
> triple structure again?
> >>
> >>
> >>
> >> Kind Regards,
> >>
> >> Joylix
> >>
> >>
> >>
> >> 发件人: Olaf Hartig
> >> 发送时间: 2021年5月25日 21:14
> >> 收件人: Joy lix; public-rdf-star@w3.org
> >> 主题: Re: rdf* to xml or rdf/xml
> >>
> >>
> >>
> >> Hi Joylix,
> >>
> >> In our work so far, we have not extended the RDF/XML format for
> RDF-star.
> >>
> >> Best,
> >> Olaf
> >>
> >> ________________________________________
> >> From: Joy lix <joylix4112@outlook.com>
> >> Sent: Tuesday, May 25, 2021 2:49 PM
> >> To: public-rdf-star@w3.org
> >> Subject: rdf* to xml or rdf/xml
> >>
> >> Hi, all, How can the following RDF* be expressed as XML or RDF/XML:
> >>
> >> @prefix :    <http://www.example.org/> .
> >> :HydePark :located  :London .
> >> << :John :meet :Sara >> :venue :HydePark ;
> >>     :date "2021-05-04".
> >>
> >> Thanks.
> >>
> >> Joylix
> >>
> >>
> >
>
>
Received on Thursday, 27 May 2021 16:16:21 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 27 May 2021 16:16:23 UTC