- From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
- Date: Fri, 21 Mar 2003 15:49:18 -0500 (EST)
- To: hagenstonmd@sbcglobal.net
- Cc: www-rdf-logic@w3.org
From: <hagenstonmd@sbcglobal.net>
Subject: OWL Question
Date: Fri, 21 Mar 2003 12:39:28 -0800
> Apologize in advance for duplicate postings. Trying to find the
> appropriate list for my question.
>
> Greetings,
>
> I am struggling with an OWLism (I think). Below is a snippet of the .owl
> document I will be referencing. I am attempting to describe the class DTED
> by ennumeration (Lines 74-88). I followed the wine example and others. I
> parsed my document into both the Web based RDF Validator and the OWL
> Validator and received the following error:
>
> com.hp.hpl.jena.rdf.arp.ParseException: {W101} Unqualified use of
> rdf:parseType has been deprecated. at line 79, column 41
>
> I guess since I am new at this I am not sure what it means to be
> unqualified. Is it something to do with my individuals (Line 1539-1550)?
> Is it my syntax? Or is it something else?
It is asking for you to use rdf:parseType instead of parseType. It is not
telling you that parseType is to be used only by qualified users. :-)
You may have to add a namespace declaration for rdf as well.
> I would welcome any assistance and advice.
>
> TIA,
>
> Marty
>
Peter
PS: This advice comes from someone who doesn't write RDF, and thus may not
be particularly correct.
>
> 68: <owl:Class rdf:about="DTED">
> 69: <rdfs:label>DTED</rdfs:label>
> 70: <rdfs:comment>A tool to visualize relief/elevation</rdfs:comment>
> 71: <rdfs:subClassOf>
> 72: <owl:Class rdf:about="#Route_Visualization_Aid" />
> 73: </rdfs:subClassOf>
> 74: <rdfs:subClassOf>
> 75: <owl:Restriction>
> 76: <owl:onProperty rdf:resource="#has_Level" />
> 77: <owl:someValuesFrom>
> 78: <owl:Class>
> 79: <owl:oneOf parseType="Collection">
> 80: <owl:Thing rdf:about="#level 1" />
> 81: <owl:Thing rdf:about="#level 2" />
> 82: <owl:Thing rdf:about="#level 3" />
> 83: <owl:Thing rdf:about="#level 4" />
> 84: </owl:oneOf>
> 85: </owl:Class>
> 86: </owl:someValuesFrom>
> 87: </owl:Restriction>
> 88: </rdfs:subClassOf>
> 89: </owl:Class>
>
>
> 1539: <owl:Individual rdf:about="level 1">
> 1540: <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
> 1541: </owl:Individual>
> 1542: <owl:Individual rdf:about="level 2">
> 1543: <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
> 1544: </owl:Individual>
> 1545: <owl:Individual rdf:about="level 3">
> 1546: <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
> 1547: </owl:Individual>
> 1548: <owl:Individual rdf:about="level 4">
> 1549: <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing" />
> 1550: </owl:Individual>
>
Received on Friday, 21 March 2003 15:49:31 UTC