Author Topic: Import/Export OWL/RDF options are grayed out  (Read 3925 times)

kevingupton

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Import/Export OWL/RDF options are grayed out
« on: March 11, 2021, 06:31:32 am »
Using EA 15.2, I created a new project, generated the Simple OWL pattern in the Model, and am trying to Export OWL.  The menu options for both Import OWL/RDF and Export OWL/RDF are gray/disabled.  I have tried this with focus on every level of the owlOntology package (package level, subpackage, diagrams, and elemenets) all with the same outcome.

All documentation seems to indicate these options should just be available and I cannot find any indication of why they might be disabled.

I saw a previous post with a similar unanswered question:  https://www.sparxsystems.com/forums/smf/index.php/topic,44901.msg264278.html#msg264278


Thank you for any assistance you can provide,
KG

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Import/Export OWL/RDF options are grayed out
« Reply #1 on: March 11, 2021, 09:03:26 am »
I guess my suspicion is still valid, if that can be said.

q.

Michael Hafner

  • EA User
  • **
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: Import/Export OWL/RDF options are grayed out
« Reply #2 on: April 21, 2021, 04:09:29 am »
Dear kevingupton,
in my case, the buttons weren't grayed out but dead as a doornail. I could click them, but nothing happened. As yet, I haven't found a solution but perhaps my first steps lead you to an idea:

1. In Specialize > Manage-Tech, the ODM checkbox was checked, however, the "Set active" button was not grayed out. So I set ODM active.

2. After that, the import button did open an import dialog. After selecting an RDF file, a package import started and failed (with the dialog closing somewhere during the import). An empty package with the name of the RDF file was created, that was all.

3. During the import, an XMI file was created in C:\Users\[user name]\AppData\Local\Temp (example file name: EA8C66.tmp) which looked okay (you have to copy it during the ongoing import, it's deleted afterwards), meaning, it contains data from the imported file within an apparently valid XMI structure.

4. An attempt to import this XMI file (via Publish > Model Exchange) resulted in another empty package.

5. That's where I stand now.

Hope this helps. Any ideas?
Best,
Michael

Best,
Michael

UPDATE:

1. XMI consists only of packaged elements of type
<packagedElement xmi:type="uml:Association" xmi:id="rdf:Description_timelineTrackDescription_rdfs:domain_3_assoc"> and of

<connector xmi:idref="rdf:Description_ruleStatement_rdfs:domain_4_assoc">
<xrefs value="$XREFPROP=$XID={rdf:Description_ruleStatement_rdfs:domain_4_assocSTEREO}$XID;$NAM=Stereotypes$NAM;$TYP=connector property$TYP;$DES=@STEREO;Name=rdfsDomain;FQName=RDF:rdfsDomain;@ENDSTEREO;$DES;$CLT={rdf:Description_ruleStatement_rdfs:domain_4_assoc}$CLT;$ENDXREF;" />
</connector>

All classes from the source files are ignored.

RDF Source file: https://www.ebu.ch/metadata/ontologies/ebuccdm/ebuccdm.rdf
« Last Edit: April 21, 2021, 04:32:13 am by Michael Hafner »