Jump to content
Sign in to follow this  
Guest withnodelay

Addind New Datatype Into A Owl File For Furthering Using

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...