wher is my import?

25 views
Skip to first unread message

Bohms, H.M. (Michel)

unread,
Sep 30, 2019, 9:34:40 AM9/30/19
to topbrai...@googlegroups.com

When opening the Linkset.rdf the Container.rdf is not shown as imported.

Any tips welcome.

 

 

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.

 

 

 

 

M_Linkset.rdf
M_Container.rdf

dprice

unread,
Sep 30, 2019, 11:55:07 AM9/30/19
to topbrai...@googlegroups.com
That’s because the https://standards.iso.org/iso/21597/-1/ed-1/en/Linkset ontology does not import anything. 

Also, there’s more than one ontology in Linkset.rdf - e.g https://standards.iso.org/iso/21597/-1/ed-1/en/ICDD_P1#Linkset and https://standards.iso.org/iso/21597/-1/ed-1/en/ICDD_P1. Same for Container.rdf.

Composer does not like that:




Cheers,
David


On 30 Sep 2019, at 14:34, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

When opening the Linkset.rdf the Container.rdf is not shown as imported.
Any tips welcome.
 
 
Michel
 
 
 
 
Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist

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/822a386261e14289bbea5f5386dcca56%40tno.nl.
<M_Linkset.rdf><M_Container.rdf>


Bohms, H.M. (Michel)

unread,
Oct 1, 2019, 2:25:16 AM10/1/19
to topbrai...@googlegroups.com, Jim Plume, Ana Roxin (ana-maria.roxin@u-bourgogne.fr), benno.k...@rws.nl, lars.w...@triona.se, Beetz, Jakob

 

Thx David

 

In the Linkset we DO have:

 

        <owl:imports rdf:resource="https://standards.iso.org/iso/21597/-1/ed-1/en/Container"/>

 

Why is this one not effective?

 

To be honest I have not that much experience with the whole void:subset etc. system which seems to need multiple ontologies in a file. Especially in an RDF/XML serialisation. Guess these files have to be simplified?

 

Greetings Michel

 

 

 

 

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

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

Location

 

dprice

unread,
Oct 1, 2019, 6:36:56 AM10/1/19
to topbrai...@googlegroups.com, Jim Plume, Ana Roxin (ana-maria.roxin@u-bourgogne.fr), Benno Koehorst, Lars Wikstrom, Beetz, Jakob

On 1 Oct 2019, at 07:25, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:

 
Thx David
 
In the Linkset we DO have:
 
        <owl:imports rdf:resource="https://standards.iso.org/iso/21597/-1/ed-1/en/Container"/>
 
Why is this one not effective?

Because it is not related to the Ontology Composer sees, which is the the base in the XML header - not :

<rdf:RDF
...

Not the one with the import inside a void:subset. -  owl:Ontology rdf:about="https://standards.iso.org/iso/21597/-1/ed-1/en/ICDD_P1#Linkset”>

    <rdf:type rdf:resource="http://purl.org/vocommons/voaf#Vocabulary"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
    <void:subset>
        <rdf:type rdf:resource="http://purl.org/vocommons/voaf#Vocabulary"/>
        <rdf:type rdf:resource="http://rdfs.org/ns/void#Dataset"/>
        <owl:imports rdf:resource="https://standards.iso.org/iso/21597/-1/ed-1/en/Container"/>
To be honest I have not that much experience with the whole void:subset etc. system which seems to need multiple ontologies in a file. Especially in an RDF/XML serialisation. Guess these files have to be simplified?

I’ve never used void either, so don’t know. I had a quick look through https://www.w3.org/TR/void/ and don’t see any examples remotely like the one you’ve provided. The subset example is far simpler and does not redeclare the referenced items, it just points to them (from https://www.w3.org/TR/void/#subset):

:DBpedia a void:Dataset;
    void:subset :DBpedia_shortabstracts;
    void:subset :DBpedia_infoboxes;
    .
:DBpedia_shortabstracts a void:Dataset;
    dcterms:title "DBpedia Short Abstracts";
    dcterms:description "Short Abstracts (max. 500 chars long) of Wikipedia Articles";
    void:dataDump <http://downloads.dbpedia.org/3.3/en/shortabstract_en.nt.bz2>;
    .
:DBpedia_infoboxes a void:Dataset;
    dcterms:title "DBpedia Infoboxes";
    dcterms:description "Information that has been extracted from Wikipedia infoboxes.";
    void:dataDump <http://downloads.dbpedia.org/3.3/en/infobox_en.nt.bz2>;
    .


Cheers,
David

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

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.
Van: topbrai...@googlegroups.com <topbrai...@googlegroups.com> Namens dprice
Verzonden: Monday, September 30, 2019 5:55 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] wher is my import?
 
That’s because the https://standards.iso.org/iso/21597/-1/ed-1/en/Linkset ontology does not import anything. 
 
Also, there’s more than one ontology in Linkset.rdf - e.g https://standards.iso.org/iso/21597/-1/ed-1/en/ICDD_P1#Linkset and https://standards.iso.org/iso/21597/-1/ed-1/en/ICDD_P1. Same for Container.rdf.
 
Composer does not like that:
 
<image002.png>

Irene Polikoff

unread,
Oct 1, 2019, 10:45:30 AM10/1/19
to topbrai...@googlegroups.com, Jim Plume, Ana Roxin (ana-maria.roxin@u-bourgogne.fr), Benno Koehorst, Lars Wikstrom, Beetz, Jakob
Keep in mind that graphs need identity in order for a system to resolve owl:imports references.

A file in a local workspace directory has a single identity, a URI of the graph. The only imports acted on are those specified for that URI.

So, if the identity of the graph is A and data inside it says

B owl:imports C, 

this statement will not be acted on since it is not about the graph being processed.

If the statement is

A owl:imports C, 

then it will be acted on and TBC will try to find a file that has graph identity C.

If your files are to be interpreted as multiple graphs than most likely they should not to be used directly as files, but to be used only as an interchange method for loading triples into a database.

The load process would then need to allocate triples to appropriate named graphs.

Bohms, H.M. (Michel)

unread,
Oct 1, 2019, 1:51:26 PM10/1/19
to topbrai...@googlegroups.com, Jim Plume, Ana Roxin, Benno Koehorst, Lars Wikstrom, Beetz, Jakob
Thx Irene, David
We will split both files restoring identity!
Thx Michel


Op 1 okt. 2019 16:45 schreef Irene Polikoff <ir...@topquadrant.com>:
Reply all
Reply to author
Forward
0 new messages