Hi Benson,

The file you are trying to put through schemagen isn't an OWL RDF
file, it's an OWL2 XML file. AFAIK Jena doesn't support OWL2 yet.

    -tree

P.S. Hi <wave>


On Thu, Jun 26, 2014 at 9:13 PM, Benson Margulies <[email protected]> wrote:
> I just made an OWL schema, something I have not done in a long time.
>
> https://gist.github.com/benson-basis/6ab309f661156a532e78
>
> I fed it to schemagen with Maven. The resulting Java class is trivial.
>
>   <plugin>
>                 <groupId>org.apache.jena</groupId>
>                 <artifactId>jena-maven-tools</artifactId>
>                 <version>0.5</version>
>                 <configuration>
>                     <includes>
>
> <include>src/main/ontologies/res.res20140626.owl</include>
>                     </includes>
>                     <fileOptions>
>                         <source>
>                             <input>default</input>
>                             
> <package-name>com.basistech.restordf</package-name>
>                             <ontology>true</ontology>
>                         </source>
>                     </fileOptions>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <id>schemagen</id>
>                         <goals>
>                             <goal>translate</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
>
> Here's the sadly trivial output.
>
> ?



-- 
Tom Emerson
[email protected]
http://www.dreamersrealm.net/tree

Reply via email to