<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://protegewiki.stanford.edu/index.php?action=history&amp;feed=atom&amp;title=ProtegeOWLJenaIntegration</id>
		<title>ProtegeOWLJenaIntegration - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://protegewiki.stanford.edu/index.php?action=history&amp;feed=atom&amp;title=ProtegeOWLJenaIntegration"/>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;action=history"/>
		<updated>2026-05-12T19:59:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=13280&amp;oldid=prev</id>
		<title>TaniaTudorache at 19:12, November 10, 2015</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=13280&amp;oldid=prev"/>
				<updated>2015-11-10T19:12:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:12, November 10, 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-weight:bold; font-size:22px&amp;quot;&amp;gt;Protege-OWL &amp;amp; Jena Integration&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-weight:bold; font-size:22px&amp;quot;&amp;gt;Protege-OWL &amp;amp; Jena Integration&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This page applies to Protege 3.x series only.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are two ways to generate a Jena model from a Protege-OWL model using the API:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are two ways to generate a Jena model from a Protege-OWL model using the API:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>TaniaTudorache</name></author>	</entry>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=6622&amp;oldid=prev</id>
		<title>TaniaTudorache at 01:54, December 1, 2009</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=6622&amp;oldid=prev"/>
				<updated>2009-12-01T01:54:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 01:54, December 1, 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot; &gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sample code:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sample code:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;JenaOWLModel owlModel = ProtegeOWL.createJenaOWLModel();&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;JenaOWLModel owlModel = ProtegeOWL.createJenaOWLModel(); &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;//or use an existing owlModel&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OWLClass protegeCls = owlModel.createOWLNamedClass(&amp;quot;MyClass&amp;quot;);	&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OWLClass protegeCls = owlModel.createOWLNamedClass(&amp;quot;MyClass&amp;quot;);	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>TaniaTudorache</name></author>	</entry>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=2258&amp;oldid=prev</id>
		<title>JenniferVendetti at 23:04, May 27, 2008</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=2258&amp;oldid=prev"/>
				<updated>2008-05-27T23:04:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:04, May 27, 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot; &gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//Exception -&amp;gt; java.lang.RuntimeException: Not supported&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//Exception -&amp;gt; java.lang.RuntimeException: Not supported&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Protege &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Developer Documentation]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Protege &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;developer documentation&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:Protege 3 Documentation]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:Protege-OWL Documentation&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JenniferVendetti</name></author>	</entry>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=2214&amp;oldid=prev</id>
		<title>JenniferVendetti: categorizing page</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=2214&amp;oldid=prev"/>
				<updated>2008-05-22T23:36:51Z</updated>
		
		<summary type="html">&lt;p&gt;categorizing page&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:36, May 22, 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l74&quot; &gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;jenaCls.addProperty(jenaProp, &amp;quot;ccc&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;jenaCls.addProperty(jenaProp, &amp;quot;ccc&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//Exception -&amp;gt; java.lang.RuntimeException: Not supported&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//Exception -&amp;gt; java.lang.RuntimeException: Not supported&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Protege Developer Documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Protege 3 Documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Protege-OWL Documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JenniferVendetti</name></author>	</entry>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=2197&amp;oldid=prev</id>
		<title>JenniferVendetti at 21:34, May 22, 2008</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=2197&amp;oldid=prev"/>
				<updated>2008-05-22T21:34:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:34, May 22, 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l73&quot; &gt;Line 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//Jena: MyClass.prop --&amp;gt; &amp;quot;ccc&amp;quot;		&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//Jena: MyClass.prop --&amp;gt; &amp;quot;ccc&amp;quot;		&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;jenaCls.addProperty(jenaProp, &amp;quot;ccc&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;jenaCls.addProperty(jenaProp, &amp;quot;ccc&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//Exception -&amp;gt; java.lang.RuntimeException: Not supported &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;yet&lt;/del&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//Exception -&amp;gt; java.lang.RuntimeException: Not supported&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JenniferVendetti</name></author>	</entry>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=2196&amp;oldid=prev</id>
		<title>JenniferVendetti: migrated content from old wiki</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=ProtegeOWLJenaIntegration&amp;diff=2196&amp;oldid=prev"/>
				<updated>2008-05-22T21:34:04Z</updated>
		
		<summary type="html">&lt;p&gt;migrated content from old wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-weight:bold; font-size:22px&amp;quot;&amp;gt;Protege-OWL &amp;amp; Jena Integration&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are two ways to generate a Jena model from a Protege-OWL model using the API:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get a snapshot of the current Protege-OWL model as a Jena OntModel ==&lt;br /&gt;
&lt;br /&gt;
You can do this by calling the &amp;lt;code&amp;gt;getOntModel()&amp;lt;/code&amp;gt; method from the [http://protege.stanford.edu/download/prerelease_javadoc_owl/edu/stanford/smi/protegex/owl/jena/OntModelProvider.html OntModelProvider] interface.  This interface is implemented both by [http://protege.stanford.edu/download/release-javadoc-owl/edu/stanford/smi/protegex/owl/jena/JenaOWLModel.html JenaOWLModel] and [http://protege.stanford.edu/download/release-javadoc-owl/edu/stanford/smi/protegex/owl/database/OWLDatabaseModel.html OWLDatabaseModel]. This [http://protege.stanford.edu/plugins/owl/api/guide.html#Jena approach is described] in the Protege-OWL API Programmer's Guide.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sample code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;JenaOWLModel owlModel = ProtegeOWL.createJenaOWLModel();&lt;br /&gt;
&lt;br /&gt;
OWLClass protegeCls = owlModel.createOWLNamedClass(&amp;quot;MyClass&amp;quot;);	&lt;br /&gt;
OWLDatatypeProperty protegeProp = owlModel.createOWLDatatypeProperty(&amp;quot;prop&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
protegeCls.setPropertyValue(protegeProp, &amp;quot;aaa&amp;quot;);&lt;br /&gt;
//Protege: MyClass.prop = &amp;quot;aaa&amp;quot;&lt;br /&gt;
&lt;br /&gt;
//get the Jena OntModel&lt;br /&gt;
Model jenaModel = owlModel.getOntModel();&lt;br /&gt;
String namespace = owlModel.getNamespaceManager().getDefaultNamespace();&lt;br /&gt;
&lt;br /&gt;
Resource jenaCls = jenaModel.getResource(namespace + &amp;quot;MyClass&amp;quot;);					&lt;br /&gt;
Property jenaProp = jenaModel.getProperty(namespace + &amp;quot;prop&amp;quot;);&lt;br /&gt;
//Protege: MyClass.prop = &amp;quot;aaa&amp;quot;&lt;br /&gt;
//Jena:    MyClass.prop = &amp;quot;aaa&amp;quot; (same value because it is a snapshot)&lt;br /&gt;
&lt;br /&gt;
//Protege: MyClass.prop --&amp;gt; &amp;quot;bbb&amp;quot;&lt;br /&gt;
protegeCls.setPropertyValue(protegeProp, &amp;quot;bbb&amp;quot;);&lt;br /&gt;
//Protege: MyClass.prop = &amp;quot;bbb&amp;quot;&lt;br /&gt;
//Jena:    MyClass.prop = &amp;quot;aaa&amp;quot; (not synchronized) &lt;br /&gt;
&lt;br /&gt;
//Jena: MyClass.prop --&amp;gt; &amp;quot;ccc&amp;quot;&lt;br /&gt;
jenaCls.addProperty(jenaProp, &amp;quot;ccc&amp;quot;);&lt;br /&gt;
//Protege: MyClass.prop = &amp;quot;bbb&amp;quot;&lt;br /&gt;
//Jena:    MyClass.prop = &amp;quot;ccc&amp;quot; (not synchronized)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Get a live and synchronized copy of the Protege-OWL model as a Jena Model ==&lt;br /&gt;
&lt;br /&gt;
You can do this by calling the &amp;lt;code&amp;gt;getJenaModel()&amp;lt;/code&amp;gt; method from the [http://protege.stanford.edu/download/release-javadoc-owl/edu/stanford/smi/protegex/owl/model/OWLModel.html OWLModel] interface. The synchronization of the two models is one-directional. If you make a change to the Protege-OWL model, the change is reflected in the Jena model, but not the other way around. If you try to change the Jena model by using the Jena API, you will get a runtime exception that the operation is not supported. This is [http://protege.stanford.edu/plugins/owl/jena-integration.html documented in more detail] on the Protege Web site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sample code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;JenaOWLModel owlModel = ProtegeOWL.createJenaOWLModel();&lt;br /&gt;
&lt;br /&gt;
OWLClass protegeCls = owlModel.createOWLNamedClass(&amp;quot;MyClass&amp;quot;);	&lt;br /&gt;
OWLDatatypeProperty protegeProp = owlModel.createOWLDatatypeProperty(&amp;quot;prop&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
protegeCls.setPropertyValue(protegeProp, &amp;quot;aaa&amp;quot;);&lt;br /&gt;
//Protege: MyClass.prop = &amp;quot;aaa&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Model jenaModel = owlModel.getJenaModel();		&lt;br /&gt;
String namespace = owlModel.getNamespaceManager().getDefaultNamespace();&lt;br /&gt;
&lt;br /&gt;
Resource jenaCls = jenaModel.getResource(namespace + &amp;quot;MyClass&amp;quot;);					&lt;br /&gt;
Property jenaProp = jenaModel.getProperty(namespace + &amp;quot;prop&amp;quot;);&lt;br /&gt;
//Protege: MyClass.prop = &amp;quot;aaa&amp;quot;&lt;br /&gt;
//Jena:    MyClass.prop = &amp;quot;aaa&amp;quot;&lt;br /&gt;
&lt;br /&gt;
//Protege: MyClass.prop --&amp;gt; &amp;quot;bbb&amp;quot;&lt;br /&gt;
protegeCls.setPropertyValue(protegeProp, &amp;quot;bbb&amp;quot;);&lt;br /&gt;
//Protege: MyClass.prop = &amp;quot;bbb&amp;quot;&lt;br /&gt;
//Jena:    MyClass.prop = &amp;quot;bbb&amp;quot; (same value because they are synchronized)&lt;br /&gt;
&lt;br /&gt;
//Jena: MyClass.prop --&amp;gt; &amp;quot;ccc&amp;quot;		&lt;br /&gt;
jenaCls.addProperty(jenaProp, &amp;quot;ccc&amp;quot;);&lt;br /&gt;
//Exception -&amp;gt; java.lang.RuntimeException: Not supported yet&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>JenniferVendetti</name></author>	</entry>

	</feed>