ID/about

13 views
Skip to first unread message

Bohms, H.M. (Michel)

unread,
May 7, 2019, 3:34:12 AM5/7/19
to topbrai...@googlegroups.com

What are the rules for using rdf:ID and rdf:about in the XMl Syntax form in TBC?

 

They seem to be mixed now (example attached). Or is it: first time encountered gets ID, any next time about?

 

Thx Michel

 

Ps

Normally using Turtle without this issue, now ran into it.

 

 

 

 

 

Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

+31888663107
+31630381220
michel...@tno.nl

Location

 

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

 

 

 

 

Container.rdf

Richard Cyganiak

unread,
May 7, 2019, 4:20:52 AM5/7/19
to 'Bohms, H.M. (Michel)' via TopBraid Suite Users
On 7 May 2019, at 08:34, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

What are the rules for using rdf:ID and rdf:about in the XMl Syntax form in TBC?

That's RDF/XML, so it follows the rules for RDF/XML. The rules are that rdf:ID="xxx" and rdf:about="#xxx" are equivalent and can be used interchangeably. However, rdf:ID="xxx" must only be used once per document.

They seem to be mixed now (example attached). Or is it: first time encountered gets ID, any next time about?

That appears to be the case in the document you shared.

The contract is that TBC produces an RDF/XML file that contains the correct triples. How exactly those triples are encoded in RDF/XML is not part of the contract and may change in the future without notice. Relying on specifics of the XML structure that is used to encode the triples is not recommended. If a specific, fixed XML structure is required, we recommend using SWP to generate the required XML structure.

Richard

Bohms, H.M. (Michel)

unread,
May 27, 2019, 7:15:06 AM5/27/19
to topbrai...@googlegroups.com

Dear Richard,

 

One more time revisited to get it even more clear...

 

Suppose we want some consistency in our reference files and we changed all ids to abouts......would that be:

- technically ok (acc. to RDF/XML syntax spec)?

- ok for TBC?

 

Thanks a lot! Michel

 

 

 

 

 

 

Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

+31888663107
+31630381220
michel...@tno.nl

Location

 

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

 

 

 

 

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/641C6B03-64C5-4A28-A4C0-77EE07F36BD4%40topquadrant.com.
For more options, visit https://groups.google.com/d/optout.

Richard Cyganiak

unread,
May 28, 2019, 9:45:20 AM5/28/19
to topbrai...@googlegroups.com

On 27 May 2019, at 12:15, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

Suppose we want some consistency in our reference files and we changed all ids to abouts......would that be:
- technically ok (acc. to RDF/XML syntax spec)?

Yes, but if in doubt, try one of the various RDF/XML validators available on the web. 

- ok for TBC?

If it is valid RDF/XML, TBC will be able to handle it (or else it's a bug).

Richard

Bohms, H.M. (Michel)

unread,
May 28, 2019, 9:49:14 AM5/28/19
to topbrai...@googlegroups.com

 

- ok for TBC?

 

If it is valid RDF/XML, TBC will be able to handle it (or else it's a bug).

 

 

> noticed that wit an example but after some change/save it wil of course replace some by ID again

 

Reply all
Reply to author
Forward
0 new messages