Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] UnsupportedDatatypeException?

Timothy Redmond tredmond at stanford.edu
Wed Apr 14 21:05:13 PDT 2010


On 04/13/2010 07:48 AM, Brad Cox wrote:
> That's to say, the ontology loads fine but fails during reasoning
>    
Actually it looked like pellet accepted the data property assertion.  It 
is interesting but this says something about registering a datatype - 
perhaps there is a way to do this.

I also would like to see more support for "external" datatypes.  I 
believe that the OWL api doesn't accept external facets yet.  I think 
that some of the ideas about reasoning with custom datatypes could be 
extremely powerful for the right analyst.

-Timothy

> On Tue, Apr 13, 2010 at 10:46 AM, Brad Cox<bradjcox at gmail.com>  wrote:
>    
>> Is there a way to use "external" types (GML for example) as
>> DataProperty types, for example, GPS coordinates?
>>
>> This didn't work; throws UnsupportedDatatypeException: Datatype
>> handler for datatype gml#Point has not been registered
>>
>> <!DOCTYPE Ontology [
>>     <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
>>     <!ENTITY xml "http://www.w3.org/XML/1998/namespace">
>>     <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
>>     <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>>     <!ENTITY gml "http://www.opengis.net/gml#">
>> ]>
>>
>>
>> <Ontology xmlns="http://www.w3.org/2002/07/owl#"
>>      xml:base="http://bo2#"
>>      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
>>      xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
>>      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>>      xmlns:xml="http://www.w3.org/XML/1998/namespace"
>>      xmlns:gml="http://www.opengis.net/gml#"
>>      ontologyIRI="http://bo2#"
>>      
>>>        
>>     <Prefix name="xsd" IRI="http://www.w3.org/2001/XMLSchema#"/>
>>     <Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/>
>>     <Prefix name="" IRI="http://www.w3.org/2002/07/owl#"/>
>>     <Prefix name="rdf" IRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
>>     <Prefix name="rdfs" IRI="http://www.w3.org/2000/01/rdf-schema#"/>
>>     <Prefix name="gml" IRI="http://www.opengis.net/gml#"/>
>> ...
>>
>>     <DataPropertyAssertion>
>>         <DataProperty IRI="hasGPSLocation"/>
>>         <NamedIndividual IRI="Fingerprint1"/>
>>         <Literal datatypeIRI="&gml;Point">49.27 -123.11</Literal>
>>     </DataPropertyAssertion>
>>
>> --
>> Cell: 703-594-1883
>> Blog: http://bradjcox.blogspot.com
>> Web: http://virtualschool.edu
>> Manassas VA 20111
>>
>>      
>
>
>    




More information about the protege-owl mailing list