- From: Ian Davis <iand@internetalchemy.org>
- Date: Mon, 04 Apr 2005 11:50:22 +0100
- To: Monika Solanki <monika@dmu.ac.uk>
- CC: Semantic web <semantic-web@w3.org>
On 02/04/2005 10:52, Monika Solanki wrote: > I would like to know if this is valid owl full code, can someone help > > <?xml version="1.0"?> > <rdf:RDF > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > xmlns:owl="http://www.w3.org/2002/07/owl#" > xmlns="http://www.owl-ontologies.com/unnamed.owl#" > xml:base="http://www.owl-ontologies.com/unnamed.owl"> > <owl:Ontology rdf:about=""/> > <owl:Class rdf:ID="Person"/> > <owl:Class rdf:ID="Monika"/> > <owl:ObjectProperty rdf:ID="hasName"> > <rdfs:domain rdf:resource="#Person"/> > <rdfs:range rdf:resource="#Monika"/> > <rdf:type > rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/> > </owl:ObjectProperty> > <Person rdf:ID="Solanki"> > <hasName rdf:resource="#Monika"/> > </Person> > </rdf:RDF> > In the above, the Monika class is used as the value of the hasName property. Using a class as an individual like this makes your document OWL Full. Ian -- http://internetalchemy.org | http://purl.org/NET/iand
Received on Monday, 4 April 2005 10:50:24 UTC