- From: Olaf Hartig <olaf.hartig@liu.se>
- Date: Tue, 25 May 2021 14:16:34 +0000
- To: Joy lix <joylix4112@outlook.com>
- CC: "public-rdf-star@w3.org" <public-rdf-star@w3.org>
Hi Joylix, Please note that this example is from the part where we define the SPARQL-star related extension to the standard XML format for results of SELECT queries. Hence, that's not actually meant as an XML format for RDF-star graphs. Having said that, you may probably construct an XML format for RDF-star graphs based on this. However, I am not sure how useful it is; it is quite verbose. Best, Olaf ________________________________________ From: Joy lix <joylix4112@outlook.com> Sent: Tuesday, May 25, 2021 3:27 PM To: Olaf Hartig Cc: public-rdf-star@w3.org Subject: 回复: rdf* to xml or rdf/xml 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<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw3c.github.io%2Frdf-star%2Fcg-spec%2Feditors_draft.html%23example-20&data=04%7C01%7Colaf.hartig%40liu.se%7C5f1f6e5aa25543ca5b1008d91f80f26d%7C913f18ec7f264c5fa816784fe9a58edd%7C0%7C0%7C637575460948833289%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wP9K9utprQ1UR0D%2BLw2SM5L%2FL51uJCOKOVDfEu2O3C4%3D&reserved=0> Consider the following RDF term, an embedded<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw3c.github.io%2Frdf-star%2Fcg-spec%2Feditors_draft.html%23dfn-embedded&data=04%7C01%7Colaf.hartig%40liu.se%7C5f1f6e5aa25543ca5b1008d91f80f26d%7C913f18ec7f264c5fa816784fe9a58edd%7C0%7C0%7C637575460948833289%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jnB819Mw3liQVa4Lv4h7bCKTk%2BJYVszXeDtA3ur2jAU%3D&reserved=0> 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<mailto:olaf.hartig@liu.se> 发送时间: 2021年5月25日 21:14 收件人: Joy lix<mailto:joylix4112@outlook.com>; public-rdf-star@w3.org<mailto: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/<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.example.org%2F&data=04%7C01%7Colaf.hartig%40liu.se%7C5f1f6e5aa25543ca5b1008d91f80f26d%7C913f18ec7f264c5fa816784fe9a58edd%7C0%7C0%7C637575460948843243%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dh%2BpDKrMsABWWBrZrIeP42WLNvFemMX6jpdXAg2c3IA%3D&reserved=0>> . :HydePark :located :London . << :John :meet :Sara >> :venue :HydePark ; :date "2021-05-04". Thanks. Joylix
Received on Tuesday, 25 May 2021 14:16:50 UTC