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: 5
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 1295 times and has 4 replies Next Thread
Feb 13, 2008 11:38:58 AM

jtheuer
Sesame Addict



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

Unknown datatype: http://www.w3.org/2000/01/rdf-schema#float

Hi,

I thought the namespace Unknown datatype: http://www.w3.org/2000/01/rdf-schema is included in the openrdf-elmo-1.0-beta2-concepts.jar?

However, when I try to compile my rdf schema:

java -classpath openrdf-elmo-1.0-beta2-concepts.jar -jar openrdf-elmo-1.0-beta2-codegen.jar -b "org.scotproject.concepts=http://scot-project.org/scot/ns#" -j scot-concepts.jar /tmp/scot.rdf


java returns an exception:

SEVERE: Error processing http://scot-project.org/scot/ns#Tag
Exception in thread "main" org.openrdf.elmo.exceptions.ElmoConversionException: Unknown datatype: http://www.w3.org/2000/01/rdf-schema#float


Any ideas?

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

jeen
Sesame Addict
Member's Avatar

The Netherlands
Joined: Jan 23, 2004
Posts: 1091
Status: Offline
Re: Unknown datatype: http://www.w3.org/2000/01/rdf-schema#float

The XSD data types are part of the XML Schema namespace: http://www.w3.org/2001/XMLSchema# .
----------------------------------------
Researcher at AFSG - Wageningen UR
Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Feb 13, 2008 6:08:15 PM

jtheuer
Sesame Addict



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

Re: Unknown datatype: http://www.w3.org/2000/01/rdf-schema#float

Can I compile the rdf without changeing it? Or is my source rdf broken?

Sorry, I am not experienced with rdf(s) but I'd assume my source ontology is correct. Is it not?

The source is http://scot-project.org/scot/ns.

Jan
----------------------------------------
[Edit 2 times, last edit by jtheuer at Feb 13, 2008 6:27:00 PM]
Show Printable Version of Post        http://www.pace-project.org [Link] Report threatening or abusive post: please login first  Go to top 
Feb 14, 2008 12:02:25 PM

jeen
Sesame Addict
Member's Avatar

The Netherlands
Joined: Jan 23, 2004
Posts: 1091
Status: Offline
Re: Unknown datatype: http://www.w3.org/2000/01/rdf-schema#float

 
Sorry, I am not experienced with rdf(s) but I'd assume my source ontology is correct. Is it not?

The source is http://scot-project.org/scot/ns.


It is not correct I think. In several places it uses http://www.w3.org/2000/01/rdf-schema#float as a range constraint value, this should be http://www.w3.org/2001/XMLSchema#float (assuming that what you want to express is a range constraint to the datatype xsd:float).
----------------------------------------
Researcher at AFSG - Wageningen UR
Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Feb 14, 2008 1:13:11 PM

jtheuer
Sesame Addict



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

Re: Unknown datatype: http://www.w3.org/2000/01/rdf-schema#float

Thanks. I will contact the author of the ontology!
Show Printable Version of Post        http://www.pace-project.org [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]