Re: rdf* to xml or rdf/xml

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 Wednesday, 26 May 2021 20:42:28 UTC