openRDF.org Welcome Guest   | Login   
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Search  | Help  | RSS feeds

Forum has been closed down
This forum has been closed down due to extensive spamming activities. Please use the mailing list instead.


Quick Go »
Thread Status: Normal
Total posts in this thread: 2
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 1134 times and has 1 reply Next Thread
Feb 26, 2008 3:32:56 PM

jtheuer
Sesame Addict



Joined: Feb 11, 2008
Posts: 70
Status: Offline

love struck   elmo superclasses

A few weeks ago I compiled a rdf file.
After a deeper look at the generated classes I found that:
	<rdf:Description rdf:about="http://scot-project.org/scot/ns#Tag" rdfs:label="Tag">
<rdfs:comment>A class for describing an individual tag</rdfs:comment>
<rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
<rdfs:subClassOf rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
<rdfs:isDefinedBy rdf:resource="http://scot-project.org/scot/ns#"/>
</rdf:Description>


is generated as:
** A class for describing an individual tag */
@rdf("http://scot-project.org/scot/ns#Tag")
public interface Tag {


Shouldn't the java class extend skos:Concept? And where is that class? elmo-codegen did not complain about missing it, so I thought it is provided by elmo?


Jan
Jan

Jan
Show Printable Version of Post        http://www.pace-project.org [Link] Report threatening or abusive post: please login first  Go to top 
Feb 26, 2008 7:56:35 PM

james
OpenRDF.org Consultant
Member's Avatar

Canada
Joined: Jul 21, 2005
Posts: 650
Status: Offline
Re: elmo superclasses

SKOS support was planned, but was dropped because for technical reasons. As it turns out only the concepts were dropped, but the ontology (as of beta2) is still being distributed.

You didn't receive the an error because the concepts jar does include the skos schema, but since the skos concepts do not exist - Tag has no super class.

You may have trouble building skos using the beta2 concept jar. You will need to edit the /META-INF/org.openrdf.elmo.ontologies file inside the jar and removed the line containing skos. If you have trouble, I can post a corrected version of the jar file.
----------------------------------------
Sesame Consultant
http://leighnet.ca
http://jamesrdf.blogspot.com
Show Printable Version of Post        Hidden to Guest    http://leighnet.ca [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]