--- a/src/net/timbusproject/context/converter/OWLExport.java
+++ b/src/net/timbusproject/context/converter/OWLExport.java
@@ -148,12 +148,17 @@
             FolderType.RELATIONS };
 
     public static void exportToOwl(IArchimateModel model, File file) throws IOException {
-
+        exportToOwl(model, file, getDefaultIRI(file));
+    }
+
+    public static void exportToOwl(IArchimateModel model, File file, String iriThisOntology) throws IOException {
+        if (iriThisOntology == null || iriThisOntology.trim().length() == 0) {
+            iriThisOntology = getDefaultIRI(file);
+        }
         // create Ontology manager
         OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
         OWLDataFactory df = OWLManager.getOWLDataFactory();
 
-        String iriThisOntology = getDefaultIRI(file);
         OWLOntology ontology;
         try {
             ontology = manager.createOntology(IRI.create(iriThisOntology));
@@ -256,7 +261,6 @@
         } catch (OWLOntologyStorageException e) {
             e.printStackTrace();
         }
-
     }
 
     /**
@@ -291,6 +295,23 @@
             System.out.print("Trying to find layered view...  ");
             view = getLayeredView(model);
             System.out.println(view != null ? "found" : "not found");
+        }
+        if (view == null) {
+            System.out.print("Checking if there is only one view...  ");
+
+            EList<EObject> elements = model.getFolder(FolderType.DIAGRAMS).getElements();
+            if (elements.size() == 1) {
+                view = (ArchimateDiagramModel) elements.get(0);
+                System.out.println("succes, using view " + view.getName());
+            } else if (elements.size() == 0) {
+                System.out.println("no views found at all!");
+            } else {
+                ArrayList<String> viewNames = new ArrayList<String>();
+                for (EObject eObject : elements) {
+                    viewNames.add(((ArchimateDiagramModel) eObject).getName());
+                }
+                System.out.println("found " + elements.size() + " views, please specifiy one of " + viewNames);
+            }
         }
 
         return exportLayout(layoutFile, defaultIRI, view);