Jump to content

Addind New Datatype Into A Owl File For Furthering Using

Guest withnodelay

Recommended Posts

Guest withnodelay

Hi all, I m actually dealing with adding into my owl file a new coordinate datatype feature. I m having problems while parsing with turtle.What I want to do is:1)Create my new datatype as follows:<!-- Spatial coord--><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:element name="coordinate" type="xsd:string"/></xsd:schema>2)getting my domain new type associated (owl stuff)<owlatatypeProperty rdf:ID="has_Coordinate"><rdfs:domain rdf:resource="#E47.Spatial_Coordinates"/><rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#coordinate"/></owlatatypeProperty>3)Defining the literal as my new type:<has_Coordinate rdf:datatype="http://www.w3.org/2001/XMLSchema#coordinate"> <coord>40.483890533447266,-3.36331844329834</coord></has_Coordinate>I think my problems begin in the referring namespace. Got next error while parsing with turtle: rdf:datatype specified on a node with resource value!! Any suggestion would be in advance thanks, Carlos

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...