Hi, I am trying to import the following occurrence item from Ontopia - TapsasConcerts.xtm that is converted to xtm v.2 first
topic id="id10">
<subjectIdentifier href="http://psi.ontopedia.net/Choir"></subjectIdentifier>
<name>
<type>
<topicRef href="#id411"></topicRef>
</type>
<value>Kor</value>
</name>
<name>
<value>Choir</value>
</name>
<occurrence>
<type>
<topicRef href="#id38"></topicRef>
</type>
<resourceRef href="http://www.kanzaki.com/ns/music#Chorus"></resourceRef>
</occurrence>
<occurrence>
<type>
<topicRef href="#id8"></topicRef>
</type>
<resourceRef href="http://en.wikipedia.org/wiki/Choir"></resourceRef>
</occurrence>
<occurrence>
<type>
<topicRef href="#id36"></topicRef>
</type>
<resourceData>A musical ensemble of singers.</resourceData>
</occurrence>
</topic>
You will notice that it has two external information resources declared with "resourceRef" element type and an internal one declared with the "resourceData" element type.
While importing Wandora reports that it converts the "resourceRef" occurrences to association !!!
<topic id="topic2158">
<subjectIdentifier href="http://psi.ontopedia.net/Choir"/>
<name>
<value>Choir</value>
<variant>
<scope>
<topicRef href="#topic2243"/>
</scope>
<resourceData>Kor</resourceData>
</variant>
</name>
<occurrence>
<type>
<topicRef href="#topic2143"/>
</type>
<scope>
<topicRef href="#topic2133"/>
</scope>
<resourceData>A musical ensemble of singers.</resourceData>
</occurrence>
</topic>
The two missing occurrences are converted to associations types "Used for" and "Web page" with wandora role types "occurrenceroletopic" and "occurrencerolereference" and for example in one instance with topicRefs "Choir" and "http://www.kanzaki.com/ns/music#Chorus" respectively.
My first question is whether there is any way to import resourceRef occurences in Wandora as they appear in xtm v2.0 ?
My second question is whether it is possible to manually handle or create resourceRef occurences with the Wandora user interface ? This is what I have tried so far.
From the traditional topic panel. I am doing a right click on the occurrences then I click Add occurrence... on the pop-up window, then I select the occurrence type either default or some other topic and I press OK. But nothing happens unless you have defined a scope and you have entered some data !!!
Therefore you have to follow an alternative route, right click on topic, select occurrences, select make occurrence with base name and you MUST select both occurrence type and scope before it is displayed on the topic panel.
But in that case the occurrence that is created is using the resourceData element see above.
The question remains, is it possible to handle resourceRef elements with Wandora, if no why is that ?
Thank you very much for you time and patience.